Description for admin stop command, empty line at EOF.
This commit is contained in:
parent
0180755b1f
commit
1c7f2a0295
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ class AdminExt(commands.GroupCog, name="admin"):
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
super().__init__() # this is now required in this context.
|
super().__init__() # this is now required in this context.
|
||||||
|
|
||||||
@app_commands.command(name="stop")
|
@app_commands.command(name="stop", description="Stops (shuts down) the bot")
|
||||||
@commands.is_owner()
|
@commands.is_owner()
|
||||||
async def admin_stop(self, interaction: discord.Interaction) -> None:
|
async def admin_stop(self, interaction: discord.Interaction) -> None:
|
||||||
""" /admin stop """
|
""" /admin stop """
|
||||||
|
|
Loading…
Add table
Reference in a new issue