From d8e7123b67d0b8902c5ffa960c722a3331396854 Mon Sep 17 00:00:00 2001 From: ein Date: Mon, 23 Aug 2021 17:48:02 -0700 Subject: [PATCH] adding shoo command for me so i can make the bot leave a server --- app/bot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/bot.py b/app/bot.py index 09885e0a..fd4fe9b9 100755 --- a/app/bot.py +++ b/app/bot.py @@ -51,6 +51,7 @@ async def on_ready(): async def shoo(ctx): if ctx.message.author.id != 144986109804412928: return + await ctx.message.delete() await ctx.message.guild.leave() @bot.command(name='ask')