Updated all color vars to new one

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2024-01-30 11:52:52 +01:00
parent 1d3b77ae35
commit 27bff1a007
60 changed files with 61 additions and 137 deletions

View File

@@ -1,13 +1,12 @@
import { ExtendedClient as Client } from "utils/Client"
import colorLog from "utils/functions/colors"
import { color } from "config/options"
import { embedColor } from "config/options"
import { Modal } from "interfaces"
import { Events } from "discord.js"
import path from "path"
import fs from "fs"
import logToChannel from "utils/functions/logtochannel"
type FileType = "js" | "ts"
const embedColor = Number(color.replace("#", "0x"))
export default function loadModalEvents(client: Client, ft: FileType) {
const modalPath = path.join(__dirname, "..", "..", "components", "modals")