From ba5ce20e107ce16376c642cf61302376d8b84b32 Mon Sep 17 00:00:00 2001 From: Jonas Leder Date: Fri, 10 Apr 2020 21:19:52 +0200 Subject: [PATCH] forgotten to import playerServer in !stop --- bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bot.py b/bot.py index 1708321..0fe13c0 100644 --- a/bot.py +++ b/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