Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
flaree committed Feb 20, 2025
1 parent 0551d84 commit 32db1b4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ballsdex/packages/admin/money.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ async def add(
await interaction.followup.send(
f"{amount:,} coins have been added to {user.mention}.", ephemeral=True
)
await log_action(
f"{interaction.user} ({interaction.user.id}) added {amount:,} coins to "
f"{user} ({user.id})",
interaction.client,
)

@app_commands.command()
async def remove(
Expand Down Expand Up @@ -103,6 +108,11 @@ async def remove(
await interaction.followup.send(
f"{amount:,} coins have been removed from {user.mention}.", ephemeral=True
)
await log_action(
f"{interaction.user} ({interaction.user.id}) removed {amount:,} coins from "
f"{user} ({user.id})",
interaction.client,
)

@app_commands.command()
async def set(
Expand Down Expand Up @@ -137,3 +147,8 @@ async def set(
await interaction.followup.send(
f"{user.mention} now has {amount:,} coins.", ephemeral=True
)
await log_action(
f"{interaction.user} ({interaction.user.id}) set the balance of "
f"{user} ({user.id}) to {amount:,} coins",
interaction.client,
)

0 comments on commit 32db1b4

Please sign in to comment.