Skip to content

Commit

Permalink
Fixed args name
Browse files Browse the repository at this point in the history
  • Loading branch information
ghrlt committed Oct 17, 2023
1 parent 9590781 commit 145a517
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions slash_commands/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ async def _setUsername(
@app_commands.command(name="set_infos", description="Set user infos")
async def _setInfos(
self, interaction: discord.Interaction,
user: discord.Member, firstName: str|None, lastName: str|None,
email: str|None, phoneNumber: str|None,
user: discord.Member, firstname: str|None, lastname: str|None,
email: str|None, phonenumber: str|None,
) -> None:
await interaction.response.defer(ephemeral=True)

database.saveInfos(user.id, firstName, lastName, email, phoneNumber)
database.saveInfos(user.id, firstname, lastname, email, phonenumber)

await interaction.followup.send(
content="Successfully updated %s infos!" % (user.mention),
Expand Down

0 comments on commit 145a517

Please sign in to comment.