diff --git a/.replit b/.replit index fb6da282..b28a4fdd 100644 --- a/.replit +++ b/.replit @@ -1,4 +1,4 @@ -modules = ["nodejs-20", "web"] +modules = ["nodejs-20", "web", "postgresql-16"] [agent] expertMode = true diff --git a/discord-bot/commands/verify.js b/discord-bot/commands/verify.js index 4e5e6c45..d9f30e79 100644 --- a/discord-bot/commands/verify.js +++ b/discord-bot/commands/verify.js @@ -40,10 +40,11 @@ module.exports = { .toUpperCase(); const expiresAt = new Date(Date.now() + 15 * 60 * 1000); // 15 minutes - // Store verification code + // Store verification code with Discord username await supabase.from("discord_verifications").insert({ discord_id: interaction.user.id, verification_code: verificationCode, + username: interaction.user.username, expires_at: expiresAt.toISOString(), });