mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 13:02:38 +00:00
Disable check mark on command completion
This commit is contained in:
parent
74d1b6cb9b
commit
3f79a77601
1 changed files with 2 additions and 2 deletions
|
@ -197,8 +197,8 @@ async def on_command_completion(ctx):
|
|||
if ctx.guild.id in u.settings['del_ctx'] and ctx.me.permissions_in(ctx.channel).manage_messages and isinstance(ctx.message.channel, d.TextChannel):
|
||||
await ctx.message.delete()
|
||||
|
||||
with suppress(err.Forbidden):
|
||||
await ctx.message.add_reaction('\N{WHITE HEAVY CHECK MARK}')
|
||||
# with suppress(err.Forbidden):
|
||||
# await ctx.message.add_reaction('\N{WHITE HEAVY CHECK MARK}')
|
||||
|
||||
for command in ('lastcommand', ',restart', ',die'):
|
||||
if ctx.command.name == command:
|
||||
|
|
Loading…
Reference in a new issue