Remove guild ids.
This commit is contained in:
@@ -10,7 +10,7 @@ from sqlalchemy.orm import Session
|
||||
from database_setup.sql_data_classes import Presences, engine
|
||||
|
||||
|
||||
class RemoveCog(commands.Cog, name="View Commands"):
|
||||
class RemoveCog(commands.Cog, name="Remove Commands"):
|
||||
"""
|
||||
Holds the view commands.
|
||||
"""
|
||||
@@ -21,9 +21,8 @@ class RemoveCog(commands.Cog, name="View Commands"):
|
||||
"""
|
||||
|
||||
@nextcord.slash_command(
|
||||
guild_ids=[1000247361639030804],
|
||||
default_member_permissions=nextcord.Permissions(administrator=True),
|
||||
) # TODO remove guild ids
|
||||
)
|
||||
async def remove(self, interaction: nextcord.Interaction):
|
||||
"""
|
||||
Parent slash command for set. Never called.
|
||||
@@ -53,7 +52,7 @@ class RemoveCog(commands.Cog, name="View Commands"):
|
||||
|
||||
await interaction.response.send_message("Presence deleted.", ephemeral=True)
|
||||
|
||||
@remove.on_autocomplete("presence_str")
|
||||
@presence.on_autocomplete("presence_str")
|
||||
async def presence_autocomplete(
|
||||
self, interaction: nextcord.Interaction, presence_str: str
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user