From 1a1a0b1ccc9880401e6b36c32904038799b90158 Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Fri, 23 Apr 2021 08:23:11 -0700 Subject: [PATCH] dont post to the channel if I run commands --- app/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/bot.py b/app/bot.py index b74fdddf..88ba8865 100755 --- a/app/bot.py +++ b/app/bot.py @@ -496,7 +496,7 @@ async def on_command_completion(ctx): embed.add_field(name = "Channel:", value = f"{ctx.channel} **( <#{ctx.channel.id}> )**") embed.add_field(name = "Link to Message:", value = "**(** [%s](%s) **)**" % (ctx.channel, ctx.message.jump_url)) embed.add_field(name = "Server:", value = f"{ctx.guild} **( <#{ctx.channel.id}> )**") - if ctx.message.author.id != '144986109804412928': + if ctx.message.author.id != 144986109804412928: await channel.send(embed=embed) bot.run(TOKEN)