diff --git a/ext/administration.py b/ext/administration.py index 7646073..fe141c5 100644 --- a/ext/administration.py +++ b/ext/administration.py @@ -13,6 +13,7 @@ class AdminExt(commands.GroupCog, name="admin"): super().__init__() # this is now required in this context. @app_commands.command(name="stop") + @commands.is_owner() async def admin_stop(self, interaction: discord.Interaction) -> None: """ /admin stop """ await interaction.response.send_message("The bot will now shutdown. Good bye! :)", ephemeral=True)