Skip to content

Commit a249e87

Browse files
committed
finalize poll function
1 parent 7668b48 commit a249e87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

protobot.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ async def poll(ctx):
369369
await message_sent.add_reaction(emoji)
370370
except:
371371
await ctx.message.channel.send(f"<@{user.id}>, something went wrong with your command. Please make sure to use proper syntax:\n!poll \"QUESTION\" TIME[S/M/H/D] EMOJI1 EMOJI2 ...")
372+
return
372373

373374
async def count_poll_results(message_sent, poll_time_in_sec):
374375
# Wait for voting to finish

0 commit comments

Comments
 (0)