completionId: cgen-6c0ff7cebb864d93bfc186c2993d961f
cgen-6c0ff7cebb864d93bfc186c2993d961f
This commit is contained in:
parent
52ea33e147
commit
2d95a4be3f
1 changed files with 1 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ export default async function handler(req: VercelRequest, res: VercelResponse) {
|
|||
}
|
||||
|
||||
if (commandName === "unlink") {
|
||||
const discordId = interaction.member?.user?.id;
|
||||
const discordId = interaction.user?.id || interaction.member?.user?.id || "Unknown";
|
||||
|
||||
return res.status(200).json({
|
||||
type: 4,
|
||||
|
|
|
|||
Loading…
Reference in a new issue