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 { Command } from "interfaces"
import { Events } from "discord.js"
@@ -20,7 +20,7 @@ export default function loadSlashCommandsEvents(client: Client, ft: FileType) {
client.commands.set(cmd.data.name, cmd)
} else {
console.log(
colorLog(
color(
`[WARNING] The command at ${filePath} is missing a required "data", "execute" or "type" property.`,
"red"
)