From 1c7f2a0295c679e1a6845e1b144edf85f47cf556 Mon Sep 17 00:00:00 2001 From: Uwe Pfeifer Date: Sat, 12 Nov 2022 16:26:18 +0100 Subject: [PATCH] Description for admin stop command, empty line at EOF. --- ext/administration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/administration.py b/ext/administration.py index fe141c5..e562c1f 100644 --- a/ext/administration.py +++ b/ext/administration.py @@ -12,7 +12,7 @@ class AdminExt(commands.GroupCog, name="admin"): self.bot = bot 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() async def admin_stop(self, interaction: discord.Interaction) -> None: """ /admin stop """ @@ -21,4 +21,4 @@ class AdminExt(commands.GroupCog, name="admin"): async def setup(bot: commands.Bot) -> None: - await bot.add_cog(AdminExt(bot)) \ No newline at end of file + await bot.add_cog(AdminExt(bot))