From ff72e186b0f85b0e9c93451edc75ad28302073d5 Mon Sep 17 00:00:00 2001 From: Dylan Dizon Date: Tue, 6 Nov 2018 15:38:13 -0500 Subject: [PATCH] Fix reverse command always removing invocation --- src/cogs/booru.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cogs/booru.py b/src/cogs/booru.py index 094f6d4..cbfa99c 100644 --- a/src/cogs/booru.py +++ b/src/cogs/booru.py @@ -420,7 +420,7 @@ class MsG: if not c: await ctx.message.add_reaction('\N{CROSS MARK}') - else: + elif remove: with suppress(err.NotFound): await ctx.message.delete()