diff --git a/cogs/commands/request.py b/cogs/commands/request.py new file mode 100644 index 0000000..1e10088 --- /dev/null +++ b/cogs/commands/request.py @@ -0,0 +1,28 @@ +""" +Contains commands to request things from admins. +""" + +import nextcord +from nextcord.ext import commands + + +class RequestCog(commands.Cog, name="Request Commands"): + """ + Class holds request commands. + """ + + @nextcord.slash_command() + async def request(self, interaction: nextcord.Interaction): + """ + Parent slash command for help. Never called. + """ + + @request.subcommand(description="Request to change your Dakiny nickname") + async def change_username(self, interaction: nextcord.Interaction, new_username: str): + """ + Sends a message to admins to request a username change. + + Args: + interaction (nextcord.Interaction): Interaction that invoked the command. + new_username(str): The username to change to. + """