Changed small functions to methods
Added custom color function
This commit is contained in:
@@ -3,7 +3,6 @@ import { waitingListRole } from "config/roles.js"
|
||||
import { GuildMember, SlashCommandBuilder } from "discord.js"
|
||||
import { ICommand } from "interfaces"
|
||||
import verify from "schemas/verifyTag.js"
|
||||
import { removeIndents } from "utils/functions/funcs.js"
|
||||
import roleManage from "utils/functions/rolesmanage.js"
|
||||
import { getGuild, getHeadURL, getIGN } from "utils/Hypixel.js"
|
||||
|
||||
@@ -68,11 +67,11 @@ export default {
|
||||
|
||||
await interaction.editReply({
|
||||
embeds: [{
|
||||
description: removeIndents(`
|
||||
description: `
|
||||
Updated your roles to \`Default Member\`
|
||||
|
||||
IGN: \`${ign}\`
|
||||
`),
|
||||
`.removeIndents(),
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: head!
|
||||
@@ -143,11 +142,11 @@ export default {
|
||||
|
||||
await interaction.editReply({
|
||||
embeds: [{
|
||||
description: removeIndents(`
|
||||
description: `
|
||||
Updated your roles to \`${replyRank}\`
|
||||
|
||||
IGN: \`${ign}\`
|
||||
`),
|
||||
`.removeIndents(),
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: head!
|
||||
|
||||
Reference in New Issue
Block a user