mirror of
https://gitlab.jonasled.de/jonasled/discordbot
synced 2024-10-05 08:48:51 +02:00
forgotten to import playerServer in !stop
This commit is contained in:
parent
31ba81259f
commit
ba5ce20e10
1 changed files with 2 additions and 0 deletions
2
bot.py
2
bot.py
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue