Updated update commands to remove waitinglist role
This commit is contained in:
@@ -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.",
|
||||
|
||||
@@ -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 + "`",
|
||||
|
||||
Reference in New Issue
Block a user