Clear Reactions after selection
This commit is contained in:
parent
3243cd2771
commit
73bebc8158
@ -60,6 +60,7 @@ class Uploader:
|
|||||||
try:
|
try:
|
||||||
await msg.clear_reactions()
|
await msg.clear_reactions()
|
||||||
except (discord.Forbidden, discord.HTTPException):
|
except (discord.Forbidden, discord.HTTPException):
|
||||||
|
print('clear_reactions failed.')
|
||||||
pass
|
pass
|
||||||
if str(reaction.emoji) == self.bot.unicode_emojis["o"]:
|
if str(reaction.emoji) == self.bot.unicode_emojis["o"]:
|
||||||
await msg.edit(content="You chose to process as official.")
|
await msg.edit(content="You chose to process as official.")
|
||||||
@ -117,6 +118,7 @@ class Uploader:
|
|||||||
try:
|
try:
|
||||||
await msg.clear_reactions()
|
await msg.clear_reactions()
|
||||||
except (discord.Forbidden, discord.HTTPException):
|
except (discord.Forbidden, discord.HTTPException):
|
||||||
|
print('clear_reactions failed.')
|
||||||
pass
|
pass
|
||||||
if str(reaction.emoji) == self.bot.unicode_emojis["y"]:
|
if str(reaction.emoji) == self.bot.unicode_emojis["y"]:
|
||||||
await msg.edit(content="You selected SinglePlayer.")
|
await msg.edit(content="You selected SinglePlayer.")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user