mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 21:02:38 +00:00
Fix reverse command always removing invocation
This commit is contained in:
parent
a65716f77a
commit
ff72e186b0
1 changed files with 1 additions and 1 deletions
|
@ -420,7 +420,7 @@ class MsG:
|
||||||
|
|
||||||
if not c:
|
if not c:
|
||||||
await ctx.message.add_reaction('\N{CROSS MARK}')
|
await ctx.message.add_reaction('\N{CROSS MARK}')
|
||||||
else:
|
elif remove:
|
||||||
with suppress(err.NotFound):
|
with suppress(err.NotFound):
|
||||||
await ctx.message.delete()
|
await ctx.message.delete()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue