Skip to content

Commit 197e557

Browse files
author
Paul Philion
committed
fixing bug in discord account linking
1 parent 3dbfb7d commit 197e557

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

netbot/cog_scn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ async def callback(self, interaction: discord.Interaction):
5353
return
5454

5555
# create the mapping so it the discord user can be found
56-
self.redmine.user_mgr.create_discord_mapping(user, interaction.user.name)
56+
self.redmine.user_mgr.create_discord_mapping(user, interaction.user.id, interaction.user.name)
5757
log.debug(f"mapped discord new user: {interaction.user.name} -> {user.login}")
5858

5959
embed = discord.Embed(title="Registered User")

0 commit comments

Comments
 (0)