completionId: cgen-ca8395e936724ad7b287aa5e42ec2da9
cgen-ca8395e936724ad7b287aa5e42ec2da9
This commit is contained in:
parent
b523a86c53
commit
55d1ccbca7
1 changed files with 2 additions and 3 deletions
|
|
@ -106,7 +106,6 @@ const handleDiscordInteractions = (
|
|||
// /verify command - Generate verification code and link
|
||||
if (commandName === "verify") {
|
||||
try {
|
||||
const supabase = createSupabaseClient();
|
||||
const discordId = interaction.member?.user?.id;
|
||||
|
||||
if (!discordId) {
|
||||
|
|
@ -125,7 +124,7 @@ const handleDiscordInteractions = (
|
|||
const expiresAt = new Date(Date.now() + 15 * 60 * 1000).toISOString(); // 15 min
|
||||
|
||||
// Store verification code in Supabase
|
||||
const { error } = await supabase
|
||||
const { error } = await adminSupabase
|
||||
.from("discord_verifications")
|
||||
.insert([
|
||||
{
|
||||
|
|
@ -231,7 +230,7 @@ const handleDiscordInteractions = (
|
|||
return res.json({
|
||||
type: 4,
|
||||
data: {
|
||||
content: `✅ **Discord Roles**\n\nYour assigned AeThex roles are shown below.\n\n📊 [View Full Profile](https://aethex.dev/profile)`,
|
||||
content: `✅ **Discord Roles**\n\nYour assigned AeThex roles are shown below.\n\n<EFBFBD><EFBFBD><EFBFBD><EFBFBD> [View Full Profile](https://aethex.dev/profile)`,
|
||||
flags: 0,
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue