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 { ContextMenu } from "interfaces"
import verifySchema from "schemas/verifySchema"
import { getGuild, getHeadURL, getIGN } from "utils/Hypixel"
import roleManage from "utils/functions/rolesmanage"
import { waitingListRole } from "config/roles"
export = {
name: "Update User",
@@ -134,6 +135,8 @@ export = {
replyRank = "Member"
}
await user.roles.remove(waitingListRole)
await interaction.editReply({
embeds: [{
description: usermentioned + " was given the " + replyRank + " role.",