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,
|
ButtonBuilder,
|
||||||
ButtonStyle,
|
ButtonStyle,
|
||||||
} = require("discord.js");
|
} = require("discord.js");
|
||||||
|
const { syncRolesAcrossGuilds } = require("../utils/roleManager");
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName("verify")
|
.setName("verify")
|
||||||
.setDescription("Link your Discord account to your AeThex account"),
|
.setDescription("Link your Discord account to your AeThex account"),
|
||||||
|
|
||||||
async execute(interaction, supabase) {
|
async execute(interaction, supabase, client) {
|
||||||
await interaction.deferReply({ ephemeral: true });
|
await interaction.deferReply({ ephemeral: true });
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue