From 1d687a873b21472173468c25f368be677e2d2c4b Mon Sep 17 00:00:00 2001 From: Shiven Ajwaliya Date: Sat, 30 May 2026 19:48:28 +1000 Subject: [PATCH] 277-Feature add /version slash command with embed display --- features/general.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/features/general.py b/features/general.py index 1b52347..57050a0 100644 --- a/features/general.py +++ b/features/general.py @@ -194,6 +194,14 @@ async def admin_help(self, interaction: discord.Interaction): "BRT": "America/Sao_Paulo", } + @app_commands.command(name="version", description="View the bot's current version.") + async def version(self, interaction: discord.Interaction): + embed = discord.Embed( + description=f"🤖 R7 Bot is running\n# {BOT_VERSION}", + color=discord.Color.blurple(), + ) + await interaction.response.send_message(embed=embed) + @app_commands.command( name="convert-time", description="Convert a date and time to all Discord timestamp formats.",