adding shoo command for me so i can make the bot leave a server
This commit is contained in:
parent
8ec4074c08
commit
0909e9c195
@ -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.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")
|
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')
|
@bot.command(name='ask')
|
||||||
async def ask(ctx):
|
async def ask(ctx):
|
||||||
import questions
|
import questions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user