We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c02d5ca commit 6414036Copy full SHA for 6414036
src/commands/team/linkv2.ts
@@ -58,7 +58,7 @@ export default command(meta, async ({ interaction }) => {
58
Authorization: `Bearer ${process.env.BOT_TOKEN}`,
59
},
60
body: JSON.stringify({
61
- user: interaction.user.globalName,
+ user: interaction.user.globalName ?? interaction.user.displayName,
62
id: interaction.user.id,
63
nexusmods: interaction.options.getString("nexusmods") ?? null,
64
github: interaction.options.getString("github") ?? null,
0 commit comments