Updated all colorlog imports with color

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2024-01-30 11:57:50 +01:00
parent 27bff1a007
commit 3bee261453
8 changed files with 18 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
import { ExtendedClient as Client } from "utils/Client"
import colorLog from "utils/functions/colors"
import color from "utils/functions/colors"
import { embedColor } from "config/options"
import { Modal } from "interfaces"
import { Events } from "discord.js"
@@ -20,7 +20,7 @@ export default function loadModalEvents(client: Client, ft: FileType) {
client.modals.set(modal.name, modal)
} else {
console.log(
colorLog(
color(
`[WARNING] The modal at ${filePath} is missing a required "name", "execute" or "type" property.`,
"red"
)