Update to nextcord 2.3.2.

This commit is contained in:
alwayscompiling
2022-11-12 01:16:04 -05:00
parent d2f33959ed
commit b4f5ddc822
2 changed files with 9 additions and 3 deletions
+7 -1
View File
@@ -19,7 +19,7 @@ class SettingsManagementCog(commands.Cog, name="Settings Management"):
""" """
@nextcord.slash_command(default_member_permissions=nextcord.Permissions(administrator=True)) @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. 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) await interaction.send(f"Registered <#{channel_id}>.", ephemeral=True)
guild.verification_channel = channel_id guild.verification_channel = channel_id
highscores_data.save_guild_data(guild) highscores_data.save_guild_data(guild)
# @nextcord.slash_command()
# async def set(self):
# """
# Parent slash command for setting settings. Never called.
# """
+2 -2
View File
@@ -1,2 +1,2 @@
nextcord>=2.0.0rc1 nextcord>=2.3.2
python-dotenv>=0.20.0 python-dotenv>=0.20.0