From c83b95ce7076c7de667faea7ef086ec88dd1db86 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 8 Nov 2025 13:40:50 +0000 Subject: [PATCH] Update verify command to assign Discord roles after linking cgen-af7ed50540b94b45b38fc1c08bd1f574 --- discord-bot/commands/verify.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/discord-bot/commands/verify.js b/discord-bot/commands/verify.js index d5789079..4e5e6c45 100644 --- a/discord-bot/commands/verify.js +++ b/discord-bot/commands/verify.js @@ -5,13 +5,14 @@ const { ButtonBuilder, ButtonStyle, } = require("discord.js"); +const { syncRolesAcrossGuilds } = require("../utils/roleManager"); module.exports = { data: new SlashCommandBuilder() .setName("verify") .setDescription("Link your Discord account to your AeThex account"), - async execute(interaction, supabase) { + async execute(interaction, supabase, client) { await interaction.deferReply({ ephemeral: true }); try {