Updated event layout

This commit is contained in:
2025-01-03 15:46:34 +01:00
parent 02d7178fa2
commit 022694396e
11 changed files with 122 additions and 173 deletions

View File

@@ -2,16 +2,15 @@ import { embedColor } from "~/config/options.js"
import { IEvent } from "~/interfaces"
import logToChannel from "~/utils/Functions/logtochannel.js"
export default {
event: "ready",
execute() {
if (process.env.NODE_ENV === "dev") return
const event: IEvent<"ready"> = () => {
if (process.env.NODE_ENV === "dev") return
logToChannel("online", {
embeds: [{
description: "Bot is online!",
color: embedColor
}]
})
}
} as IEvent<"ready">
logToChannel("online", {
embeds: [{
description: "Bot is online!",
color: embedColor
}]
})
}
export default event