Skip to content

Commit

Permalink
Removed unused parameter in the set command
Browse files Browse the repository at this point in the history
  • Loading branch information
PieTw3lve committed Jul 27, 2024
1 parent 99f57da commit d11a00b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/owner/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async def wallet(ctx: lightbulb.Context) -> None:
@lightbulb.option('user', "The user's wallet that will change.", type=hikari.User, required=True)
@lightbulb.command('set', "Set a server member's wallet to a specific amount.", pass_options=True)
@lightbulb.implements(lightbulb.SlashSubCommand)
async def set_wallet(ctx: lightbulb.Context, user: hikari.User, currency: str, amount: int):
async def set_wallet(ctx: lightbulb.Context, user: hikari.User, amount: str):
if user.is_bot:
embed = hikari.Embed(description='You are not allowed to set money to this user!', color=get_setting('general', 'embed_error_color'))
return await ctx.respond(embed, flags=hikari.MessageFlag.EPHEMERAL)
Expand Down

0 comments on commit d11a00b

Please sign in to comment.