Update verify command to assign Discord roles after linking
cgen-af7ed50540b94b45b38fc1c08bd1f574
This commit is contained in:
parent
0e33637b6e
commit
c83b95ce70
1 changed files with 2 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue