Changed the event handler

This commit is contained in:
2024-09-16 13:59:19 +02:00
parent 957536fb62
commit 50a70797b4
10 changed files with 20 additions and 54 deletions

View File

@@ -3,10 +3,7 @@ import { IEvent } from "interfaces"
import logToChannel from "utils/functions/logtochannel.js"
export default {
name: "sendonlinemessage",
description: "send an online message",
event: "ready",
execute() {
if (process.env.NODE_ENV === "dev") return
@@ -17,4 +14,4 @@ export default {
}]
})
}
} as IEvent
} as IEvent<"ready">