Updated all color vars to new one
Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { bwwins, beastbwfkdr, beastbwstars, beastswkdr, beastswstars, beastduelswins, duelswlr } from "config/reqs"
|
||||
import { color, devMessage } from "config/options"
|
||||
import { embedColor, devMessage } from "config/options"
|
||||
import { hypixelLevel, bedwarsLevel, skywarsLevel, getUUID, getPlayer, getGuild, getHeadURL } from "utils/Hypixel"
|
||||
import { ChatInputCommandInteraction } from "discord.js"
|
||||
|
||||
@@ -7,7 +7,6 @@ export default async function beast(interaction: ChatInputCommandInteraction): P
|
||||
await interaction.deferReply()
|
||||
|
||||
const ign = interaction.options.getString("ign")!
|
||||
const embedColor = Number(color.replace("#", "0x"))
|
||||
|
||||
if (!ign) {
|
||||
await interaction.editReply("Please provide a player's IGN.")
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { ChatInputCommandInteraction } from "discord.js"
|
||||
import { color, devMessage } from "config/options"
|
||||
import { embedColor, devMessage } from "config/options"
|
||||
import { ExtendedClient as Client } from "utils/Client"
|
||||
|
||||
export default async function help(interaction: ChatInputCommandInteraction, client: Client): Promise<void> {
|
||||
@@ -42,8 +42,6 @@ export default async function help(interaction: ChatInputCommandInteraction, cli
|
||||
}
|
||||
}
|
||||
|
||||
const embedColor = Number(color.replace("#", "0x"))
|
||||
|
||||
await interaction.editReply({
|
||||
embeds: [{
|
||||
title: "Commands",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { ActionRowBuilder, ButtonBuilder, ButtonStyle, ChatInputCommandInteraction } from "discord.js"
|
||||
import { color, devMessage } from "config/options"
|
||||
import { embedColor, devMessage } from "config/options"
|
||||
import env from "utils/Env"
|
||||
|
||||
export default async function prune(interaction: ChatInputCommandInteraction): Promise<void> {
|
||||
@@ -10,7 +10,6 @@ export default async function prune(interaction: ChatInputCommandInteraction): P
|
||||
return
|
||||
}
|
||||
|
||||
const embedColor = Number(color.replace("#", "0x"))
|
||||
const members = await interaction.guild!.members.fetch()
|
||||
|
||||
await interaction.editReply({
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import verify from "schemas/verifySchema"
|
||||
import { color, hypixelGuildID } from "config/options"
|
||||
import { embedColor, hypixelGuildID } from "config/options"
|
||||
import colorLog from "utils/functions/colors"
|
||||
import { verifyTick } from "config/roles"
|
||||
import roleManage from "utils/functions/rolesmanage"
|
||||
@@ -9,10 +9,10 @@ import { getGuild } from "utils/Hypixel"
|
||||
import { GuildData } from "interfaces"
|
||||
|
||||
export default async function updateDiscordRoles(interaction: ChatInputCommandInteraction): Promise<void> {
|
||||
const discordMember = interaction.member as GuildMember
|
||||
const embedColor = Number(color.replace("#", "0x"))
|
||||
await interaction.deferReply()
|
||||
|
||||
const discordMember = interaction.member as GuildMember
|
||||
|
||||
if (discordMember.user.id !== env.prod.dev) {
|
||||
await interaction.editReply({
|
||||
embeds: [{
|
||||
|
||||
Reference in New Issue
Block a user