Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions features/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
Loading