adding shoo command for me so i can make the bot leave a server
This commit is contained in:
parent
0b26202a98
commit
d0539b4e47
@ -51,6 +51,7 @@ async def on_ready():
|
|||||||
async def shoo(ctx):
|
async def shoo(ctx):
|
||||||
if ctx.message.author.id != 144986109804412928:
|
if ctx.message.author.id != 144986109804412928:
|
||||||
return
|
return
|
||||||
|
await ctx.message.delete()
|
||||||
await ctx.message.guild.leave()
|
await ctx.message.guild.leave()
|
||||||
|
|
||||||
@bot.command(name='ask')
|
@bot.command(name='ask')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user