Updated all color vars to new one
Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { hypixelGuildID, guildLogChannel, color, devMessage } from "config/options"
|
||||
import { hypixelGuildID, guildLogChannel, embedColor, devMessage } from "config/options"
|
||||
import colorLog from "utils/functions/colors"
|
||||
import { getGuild, getIGN } from "utils/Hypixel"
|
||||
import { Cron, GuildData } from "interfaces"
|
||||
@@ -13,8 +13,6 @@ async function guildWeekly() {
|
||||
return
|
||||
}
|
||||
|
||||
const embedColor = Number(color.replace("#", "0x"))
|
||||
|
||||
const message = await channel.send({
|
||||
embeds: [{
|
||||
description: "Starting to fetch guild data...",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { GuildMember, userMention } from "discord.js"
|
||||
import { color } from "config/options"
|
||||
import { embedColor } from "config/options"
|
||||
import { Event } from "interfaces"
|
||||
import logToChannel from "utils/functions/logtochannel"
|
||||
|
||||
@@ -10,8 +10,6 @@ export = {
|
||||
|
||||
execute(member: GuildMember) {
|
||||
if (process.env.NODE_ENV === "dev") return
|
||||
const embedColor = Number(color.replace("#", "0x"))
|
||||
|
||||
logToChannel("bot", {
|
||||
embeds: [{
|
||||
title: "New Member",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import logToChannel from "utils/functions/logtochannel"
|
||||
import { Event } from "interfaces"
|
||||
import { color } from "config/options"
|
||||
import { embedColor } from "config/options"
|
||||
|
||||
export = {
|
||||
name: "sendonlinemessage",
|
||||
@@ -10,8 +10,6 @@ export = {
|
||||
execute() {
|
||||
if (process.env.NODE_ENV === "dev") return
|
||||
|
||||
const embedColor = Number(color.replace("#", "0x"))
|
||||
|
||||
logToChannel("online", {
|
||||
embeds: [{
|
||||
description: "Bot is online!",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { userMention, channelMention, VoiceState } from "discord.js"
|
||||
import { color } from "config/options"
|
||||
import { embedColor } from "config/options"
|
||||
import { Event } from "interfaces"
|
||||
import logToChannel from "utils/functions/logtochannel"
|
||||
|
||||
@@ -11,7 +11,6 @@ export = {
|
||||
execute(oldState: VoiceState, newState: VoiceState) {
|
||||
if (process.env.NODE_ENV === "dev") return
|
||||
|
||||
const embedColor = Number(color.replace("#", "0x"))
|
||||
const oldChannel = oldState.channel
|
||||
const newChannel = newState.channel
|
||||
|
||||
|
||||
Reference in New Issue
Block a user