upd. event emitter call

This commit is contained in:
a-sync
2024-09-10 20:20:44 +02:00
parent 33bb83fe38
commit d6d97c2ce4

View File

@@ -35,7 +35,7 @@ export async function init(token: string) {
bot.once('ready', () => {
console.log('discord-bot ready', bot.user);
bot.removeListener('error', reject);
bot.off('error', reject);
resolve();
});