adding shoo command for me so i can make the bot leave a server

This commit is contained in:
Luke Robles 2021-08-23 17:47:38 -07:00
parent 8ec4074c08
commit 0909e9c195

View File

@ -46,6 +46,13 @@ async def on_ready():
await bot.change_presence(status=discord.Status.online, activity=discord.Activity(type=discord.ActivityType.listening, name="type !help"))
await bot.get_channel(152921472304676865).send("I have reconnected")
@bot.command(name='shoo')
async def shoo(ctx):
if ctx.message.author.id != 144986109804412928:
return
await ctx.message.guild.leave()
@bot.command(name='ask')
async def ask(ctx):
import questions