1
0
Fork 0
mirror of https://gitlab.jonasled.de/jonasled/discordbot synced 2024-07-06 09:18:35 +02:00

forgotten to import playerServer in !stop

This commit is contained in:
Jonas Leder 2020-04-10 21:19:52 +02:00
parent 31ba81259f
commit ba5ce20e10

2
bot.py
View file

@ -438,6 +438,8 @@ async def stop(ctx):
global playerQue
global titleQue
global downloadQue
global playerServer
if (playerServer != ctx.message.guild.id):#check if the music bot runns on this server
await ctx.message.channel.send("You can't stop the music bot on a different server.")
return