diff --git a/.idea/misc.xml b/.idea/misc.xml
index 19a46a8..a6aa8ed 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -1,4 +1,4 @@
-
+
\ No newline at end of file
diff --git a/.idea/pybot-f.iml b/.idea/pybot-f.iml
index 0a5a969..764712e 100644
--- a/.idea/pybot-f.iml
+++ b/.idea/pybot-f.iml
@@ -5,7 +5,7 @@
-
+
\ No newline at end of file
diff --git a/ext/administration.py b/ext/administration.py
index b6ebff3..6cca3c0 100644
--- a/ext/administration.py
+++ b/ext/administration.py
@@ -12,12 +12,22 @@ class AdminExt(commands.GroupCog, name="admin"):
self.bot = bot
super().__init__() # this is now required in this context.
+
@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 """
- await interaction.response.send_message("The bot will now shutdown. Good bye! :)", ephemeral=True)
+ await interaction.response.send_message("The bot will now shutdown. Good bye! :)")
await self.bot.close()
+
+ @app_commands.command(name="say", description="Makes the bot repeat what you type")
+ @app_commands.describe(text="Text to send to the channel/query.")
+ @commands.is_owner()
+ async def admin_say(self, interaction: discord.Interaction, text: str) -> None:
+ """ /admin say """
+ await interaction.response.send_message(text)
+
+
async def setup(bot: commands.Bot) -> None:
await bot.add_cog(AdminExt(bot))