Change event name from 'ready' to 'clientReady'

This commit is contained in:
Nyo authored and GitHub committed 2026-05-12 16:30:29 +02:00
1 parent 0288e2f4de
commit 60d5c4cb1f
1 file changed
+1 -12
+1 -12
View File
@@ -27,7 +27,7 @@ const APIServer = require("./API/server.js");
client.start(supportbot.General.Token);
client.once('ready', () => {
client.once('clientReady', () => {
const api = new APIServer(client);
api.start();
});
@@ -77,14 +77,3 @@ process.on("unhandledRejection", (reason) => {
process.on("uncaughtException", (err) => {
console.error("Uncaught Exception:", err);
});