diff options
| author | 2020-04-02 12:13:37 +0300 | |
|---|---|---|
| committer | 2020-04-02 12:13:37 +0300 | |
| commit | 61a93c18a4b0ec0f40efb9b36fb2f423a9e2193a (patch) | |
| tree | de9e17f58222ba143af40c9853fda8e44285eee2 | |
| 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.py | 4 |
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 |