mirror of
https://gitlab.jonasled.de/jonasled/discordbot
synced 2024-07-11 19:58:33 +02:00
forgotten to import playerServer in !stop
This commit is contained in:
parent
31ba81259f
commit
ba5ce20e10
2
bot.py
2
bot.py
|
@ -438,6 +438,8 @@ async def stop(ctx):
|
||||||
global playerQue
|
global playerQue
|
||||||
global titleQue
|
global titleQue
|
||||||
global downloadQue
|
global downloadQue
|
||||||
|
global playerServer
|
||||||
|
|
||||||
if (playerServer != ctx.message.guild.id):#check if the music bot runns on this server
|
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.")
|
await ctx.message.channel.send("You can't stop the music bot on a different server.")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue