Updated update commands to remove waitinglist role

This commit is contained in:
2024-02-05 11:56:29 +01:00
parent 67b869c40d
commit da9bb58562
3 changed files with 9 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ import { hypixelGuildID, embedColor, devMessage } from "config/options"
import verify from "schemas/verifySchema"
import { Command } from "interfaces"
import roleManage from "utils/functions/rolesmanage"
import { waitingListRole } from "config/roles"
export = {
name: "forceupdate",
@@ -140,6 +141,8 @@ export = {
replyRank = "Member"
}
await user.roles.remove(waitingListRole)
await interaction.editReply({
embeds: [{
description: usermentioned + " was given the the " + replyRank + " role.",

View File

@@ -4,6 +4,7 @@ import verify from "schemas/verifySchema"
import { embedColor, hypixelGuildID, devMessage } from "config/options"
import roleManage from "utils/functions/rolesmanage"
import { Command } from "interfaces"
import { waitingListRole } from "config/roles"
export = {
name: "update",
@@ -123,6 +124,8 @@ export = {
replyRank = "Member"
}
await user.roles.remove(waitingListRole)
await interaction.editReply({
embeds: [{
description: "Updated your roles to `" + replyRank + "`",