aboutsummaryrefslogtreecommitdiffstats
path: root/cogs/music/leave.py
diff options
context:
space:
mode:
authorSamlonDev <stankiewiczgracjan2019@gmail.com>2025-06-14 18:54:02 +0200
committerSamlonDev <stankiewiczgracjan2019@gmail.com>2025-06-14 18:54:02 +0200
commit791e75cb2beeca45a6edf52b65f7e299e03b5eaf (patch)
treecfee93211b7f8ac1c985325aaf8d9399b7a357ca /cogs/music/leave.py
parenttemp downloads the files instead (diff)
downloadsenator-sperma-791e75cb2beeca45a6edf52b65f7e299e03b5eaf.tar.gz
senator-sperma-791e75cb2beeca45a6edf52b65f7e299e03b5eaf.zip
code-style issues
Diffstat (limited to 'cogs/music/leave.py')
-rw-r--r--cogs/music/leave.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/cogs/music/leave.py b/cogs/music/leave.py
index 0be2068..7be3b60 100644
--- a/cogs/music/leave.py
+++ b/cogs/music/leave.py
@@ -1,6 +1,6 @@
1import discord
2from discord.ext import commands 1from discord.ext import commands
3 2
3
4class Leave(commands.Cog): 4class Leave(commands.Cog):
5 def __init__(self, bot): 5 def __init__(self, bot):
6 self.bot = bot 6 self.bot = bot
@@ -9,5 +9,6 @@ class Leave(commands.Cog):
9 async def kick(self, ctx): 9 async def kick(self, ctx):
10 await ctx.voice_client.disconnect() 10 await ctx.voice_client.disconnect()
11 11
12
12def setup(bot): 13def setup(bot):
13 bot.add_cog(Leave(bot)) \ No newline at end of file 14 bot.add_cog(Leave(bot))