Files
illegitimate-bot/src/events/server/ready/sendOnlineMessage.ts
2025-01-12 19:14:08 +01:00

17 lines
394 B
TypeScript

import { embedColor } from "~/config/options.js"
import { Event } from "~/typings"
import logToChannel from "~/utils/Functions/logtochannel.js"
const event: Event<"ready"> = () => {
if (process.env.NODE_ENV === "dev") return
logToChannel("online", {
embeds: [{
description: "Bot is online!",
color: embedColor
}]
})
}
export default event