Skip to content

Commit

Permalink
There
Browse files Browse the repository at this point in the history
  • Loading branch information
JDJGInc committed Jul 29, 2024
1 parent 2aeaaa4 commit 9821c21
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cogs/extra.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,17 +104,17 @@ async def convert_temperature_error(self, interaction: discord.Interaction, erro
print(interaction.command)
traceback.print_exc()

@app_commands.command(
description="A command to convert speeds to different scales",
auto_locale_strings=True,
)
@app_commands.user_install()
@app_commands.guild_install()
@app_commands.allowed_contexts(guilds=True, dms=True, private_channels=True)
@app_commands.describe(
speed_unit="Select a Unit of Speed from the dropdown.",
speed="Please enter a number",
)
@app_commands.command(
description="A command to convert speeds to different scales",
auto_locale_strings=True,
)
@app_commands.choices(
speed_unit=locale_choices(
Speed,
Expand Down

0 comments on commit 9821c21

Please sign in to comment.