From 60d5c4cb1f587171f27f322488b41e02f474fe82 Mon Sep 17 00:00:00 2001 From: Nyo <58821897+ItsNyoty@users.noreply.github.com> Date: Tue, 12 May 2026 16:30:29 +0200 Subject: [PATCH] Change event name from 'ready' to 'clientReady' --- index.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/index.js b/index.js index 90ea158..5c4040f 100644 --- a/index.js +++ b/index.js @@ -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); }); - - - - - - - - - - -