diff --git a/code/bot.py b/code/bot.py index e7a2922..8114b04 100644 --- a/code/bot.py +++ b/code/bot.py @@ -10,7 +10,7 @@ class MyBot(commands.Bot): def __init__(self): super().__init__( command_prefix="***", - activity=discord.Game(name='music!'), + activity=discord.Game(name="music!"), intents=discord.Intents.default(), ) diff --git a/code/cogs/clear.py b/code/cogs/clear.py index 4dded33..8711701 100644 --- a/code/cogs/clear.py +++ b/code/cogs/clear.py @@ -11,7 +11,6 @@ class Clear(commands.Cog): def __init__(self, bot): self.bot = bot - @app_commands.command() @app_commands.check(Music.create_player) async def clear(self, interaction: discord.Interaction): diff --git a/code/cogs/nowplaying.py b/code/cogs/nowplaying.py index 4f5f6b1..84898cd 100644 --- a/code/cogs/nowplaying.py +++ b/code/cogs/nowplaying.py @@ -12,7 +12,6 @@ class NowPlaying(commands.Cog): def __init__(self, bot): self.bot = bot - @app_commands.command() @app_commands.check(Music.create_player) async def np(self, interaction: discord.Interaction): diff --git a/code/cogs/pause.py b/code/cogs/pause.py index c231d43..522a376 100644 --- a/code/cogs/pause.py +++ b/code/cogs/pause.py @@ -11,7 +11,6 @@ class Pause(commands.Cog): def __init__(self, bot): self.bot = bot - @app_commands.command() @app_commands.check(Music.create_player) async def pause(self, interaction: discord.Interaction): diff --git a/code/cogs/play.py b/code/cogs/play.py index 454881b..b61d567 100644 --- a/code/cogs/play.py +++ b/code/cogs/play.py @@ -17,7 +17,6 @@ class Play(commands.Cog): def __init__(self, bot): self.bot = bot - @app_commands.command() @app_commands.check(Music.create_player) @app_commands.describe(query="Name or link of song") diff --git a/code/cogs/queue.py b/code/cogs/queue.py index 22a2b1e..1b26991 100644 --- a/code/cogs/queue.py +++ b/code/cogs/queue.py @@ -13,7 +13,6 @@ class Queue(commands.Cog): def __init__(self, bot): self.bot = bot - @app_commands.command() @app_commands.check(Music.create_player) @app_commands.describe(page="Queue page number - leave blank if you are unsure") diff --git a/code/cogs/remove.py b/code/cogs/remove.py index ac1a720..0f1a8f3 100644 --- a/code/cogs/remove.py +++ b/code/cogs/remove.py @@ -11,7 +11,6 @@ class Remove(commands.Cog): def __init__(self, bot): self.bot = bot - @app_commands.command() @app_commands.check(Music.create_player) @app_commands.describe(number="Song number to have removed") diff --git a/code/cogs/resume.py b/code/cogs/resume.py index ba4a9d1..51d3348 100644 --- a/code/cogs/resume.py +++ b/code/cogs/resume.py @@ -11,7 +11,6 @@ class Resume(commands.Cog): def __init__(self, bot): self.bot = bot - @app_commands.command() @app_commands.check(Music.create_player) async def resume(self, interaction: discord.Interaction): diff --git a/code/cogs/shuffle.py b/code/cogs/shuffle.py index 88e81da..ba78957 100644 --- a/code/cogs/shuffle.py +++ b/code/cogs/shuffle.py @@ -11,7 +11,6 @@ class Shuffle(commands.GroupCog, name="shuffle"): def __init__(self, bot): self.bot = bot - @app_commands.command(name="on") @app_commands.check(Music.create_player) async def shuffle_on(self, interaction: discord.Interaction): diff --git a/code/cogs/stop.py b/code/cogs/stop.py index eb3341b..795182f 100644 --- a/code/cogs/stop.py +++ b/code/cogs/stop.py @@ -11,7 +11,6 @@ class Stop(commands.Cog): def __init__(self, bot): self.bot = bot - @app_commands.command() @app_commands.check(Music.create_player) async def stop(self, interaction: discord.Interaction): diff --git a/code/cogs/tree_sync.py b/code/cogs/tree_sync.py index cdc172d..5050730 100644 --- a/code/cogs/tree_sync.py +++ b/code/cogs/tree_sync.py @@ -6,7 +6,6 @@ class TreeSync(commands.Cog): def __init__(self, bot): self.bot = bot - @commands.command() @commands.dm_only() @commands.is_owner() diff --git a/code/global_variables.py b/code/global_variables.py index 1bb4a7a..2fce67d 100644 --- a/code/global_variables.py +++ b/code/global_variables.py @@ -30,11 +30,7 @@ except FileNotFoundError: "BOT_COLOR": "", } - config["LAVALINK"] = { - "HOST": "", - "PORT": "", - "PASSWORD": "" - } + config["LAVALINK"] = {"HOST": "", "PORT": "", "PASSWORD": ""} with open("config.ini", "w") as configfile: config.write(configfile)