Moved to esm

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2024-08-23 17:59:00 +02:00
parent 31b88396ea
commit 3f7f23d4b3
123 changed files with 575 additions and 510 deletions

View File

@@ -1,8 +1,8 @@
import { IEvent } from "interfaces"
import { ExtendedClient as Client } from "utils/Client"
import color from "utils/functions/colors"
import { ExtendedClient as Client } from "utils/Client.js"
import color from "utils/functions/colors.js"
export = {
export default {
name: "conolelog",
description: "console log",
event: "ready",

View File

@@ -1,8 +1,8 @@
import logToChannel from "utils/functions/logtochannel"
import logToChannel from "utils/functions/logtochannel.js"
import { IEvent } from "interfaces"
import { embedColor } from "config/options"
import { embedColor } from "config/options.js"
export = {
export default {
name: "sendonlinemessage",
description: "send an online message",
event: "ready",

View File

@@ -1,10 +1,10 @@
import { guildid } from "config/options"
import statuses from "config/statuses"
import { guildid } from "config/options.js"
import statuses from "config/statuses.js"
import { Guild } from "discord.js"
import { IEvent } from "interfaces"
import { ExtendedClient as Client } from "utils/Client"
import { ExtendedClient as Client } from "utils/Client.js"
export = {
export default {
name: "status",
description: "Sets the status of the bot",
event: "ready",