Update to nextcord 2.3.2.
This commit is contained in:
@@ -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.
|
||||
# """
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
nextcord>=2.0.0rc1
|
||||
python-dotenv>=0.20.0
|
||||
nextcord>=2.3.2
|
||||
python-dotenv>=0.20.0
|
||||
|
||||
Reference in New Issue
Block a user