From b4f5ddc822f1d9b73e18218e5118e0908614f042 Mon Sep 17 00:00:00 2001 From: alwayscompiling Date: Sat, 12 Nov 2022 01:16:04 -0500 Subject: [PATCH] Update to nextcord 2.3.2. --- cogs/commands/settings_management.py | 8 +++++++- requirements.txt | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/cogs/commands/settings_management.py b/cogs/commands/settings_management.py index 6d61a80..5ffe314 100644 --- a/cogs/commands/settings_management.py +++ b/cogs/commands/settings_management.py @@ -19,7 +19,7 @@ class SettingsManagementCog(commands.Cog, name="Settings Management"): """ @nextcord.slash_command(default_member_permissions=nextcord.Permissions(administrator=True)) - async def register(self): + async def register(self, interaction: nextcord.Interaction): """ Parent slash command, never called. """ @@ -104,3 +104,9 @@ class SettingsManagementCog(commands.Cog, name="Settings Management"): await interaction.send(f"Registered <#{channel_id}>.", ephemeral=True) guild.verification_channel = channel_id highscores_data.save_guild_data(guild) + + # @nextcord.slash_command() + # async def set(self): + # """ + # Parent slash command for setting settings. Never called. + # """ \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index d4fcfe7..412a87a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -nextcord>=2.0.0rc1 -python-dotenv>=0.20.0 \ No newline at end of file +nextcord>=2.3.2 +python-dotenv>=0.20.0