Skip to content

Commit

Permalink
Update add, subtract, multiply descriptions
Browse files Browse the repository at this point in the history
"two numbers" -> "two or more numbers"
  • Loading branch information
MajorTanya committed Jul 31, 2023
1 parent 056fbe4 commit 7487449
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions maths.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Maths(commands.GroupCog):
def __init__(self, bot: DTbot):
self.bot = bot

@app_commands.command(description="Add two numbers together")
@app_commands.command(description="Add two or more numbers together")
async def add(
self,
interaction: discord.Interaction,
Expand All @@ -32,7 +32,7 @@ async def add(
result = rint(fsum(numbers), digits=3)
await interaction.response.send_message(f"{' + '.join(strs)} = {result:,}")

@app_commands.command(description="Subtract two numbers")
@app_commands.command(description="Subtract two or more numbers")
async def subtract(
self,
interaction: discord.Interaction,
Expand All @@ -48,7 +48,7 @@ async def subtract(
result = rint(reduce(sub, numbers), digits=3) # type: ignore
await interaction.response.send_message(f"{' - '.join(strs)} = {result:,}")

@app_commands.command(description="Multiply two numbers")
@app_commands.command(description="Multiply two or more numbers")
async def multiply(
self,
interaction: discord.Interaction,
Expand Down

0 comments on commit 7487449

Please sign in to comment.