17 lines
394 B
TypeScript
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
|