Changed small functions to methods

Added custom color function
This commit is contained in:
2024-09-07 20:09:29 +02:00
parent a9fb41cece
commit 7a2a136f30
33 changed files with 74 additions and 76 deletions

View File

@@ -3,7 +3,6 @@ import { waitingListRole } from "config/roles.js"
import { GuildMember, PermissionFlagsBits, SlashCommandBuilder, userMention } 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"
@@ -85,11 +84,11 @@ export default {
await interaction.editReply({
embeds: [{
description: removeIndents(`
description: `
${usermentioned} was given the \`Default Member\` role.
IGN: \`${ign}\`
`),
`.removeIndents(),
color: embedColor,
thumbnail: {
url: head!
@@ -159,11 +158,11 @@ export default {
await interaction.editReply({
embeds: [{
description: removeIndents(`
description: `
${usermentioned} was given the \`${replyRank}\` role.
IGN: \`${ign}\`
`),
`.removeIndents(),
color: embedColor,
thumbnail: {
url: head!