aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks123 <[email protected]>2020-04-02 12:13:37 +0300
committerGravatar ks123 <[email protected]>2020-04-02 12:13:37 +0300
commit61a93c18a4b0ec0f40efb9b36fb2f423a9e2193a (patch)
treede9e17f58222ba143af40c9853fda8e44285eee2
parent(Aliases, discord.py 1.3.x Migration): Replaced `ctx.invoke` with direct awai... (diff)
(Snekbox, discord.py 1.3.x Migration): Replaced message full reaction clear with only reeval emoji clear.
-rw-r--r--bot/cogs/snekbox.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/snekbox.py b/bot/cogs/snekbox.py
index 315383b12..4ec08886c 100644
--- a/bot/cogs/snekbox.py
+++ b/bot/cogs/snekbox.py
@@ -233,12 +233,12 @@ class Snekbox(Cog):
)
code = await self.get_code(new_message)
- await ctx.message.clear_reactions()
+ await ctx.message.clear_reaction(REEVAL_EMOJI)
with contextlib.suppress(HTTPException):
await response.delete()
except asyncio.TimeoutError:
- await ctx.message.clear_reactions()
+ await ctx.message.clear_reaction(REEVAL_EMOJI)
return None
return code