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

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