Custom answers for votes in PM don't work
When enabling a custom answer for a vote it is not possible to respond to the bot in a private message. Especially for anonymous votes this beats the purpose of having it anonymously if the custom responses can't be treated anonymously.
BrNie <3 Been looking to make our own bot for this. Don't know how PollMaster is programmed for this, but found a way to check for private messages. Maybe they can use it.
if voted_reaction == "no":
await member.send("You have voted no for " + player_name + ". Please reply to this message to tell us why.")
def check(message):
return message.author == guild.owner and isinstance(message.channel, discord.DMChannel)
try:
comment = await client.wait_for('message', timeout= 5, check=check)
if comment:
await user_vote(member,player_name, voted_reaction,payload.message_id,comment.content)
except asyncio.TimeoutError:
await member.send("We're sorry, this timed out. Vote has not been registered")
When enabling a custom answer for a vote it is not possible to respond to the bot in a private message. Especially for anonymous votes this beats the purpose of having it anonymously if the custom responses can't be treated anonymously.
Yup I'm wondering if it was meant to work like that and its just broken atm