Ask coding questions

← Back to all posts
Code is not working discord.js = scratch for discord = s4d
EkylytraRobot (0)

Can you help me? Error is node:104 MaxListenersExceededWarning This is because of message max was 10 but i used 11

Answered by xfinnbar (149) [earned 5 cycles]
View Answer
Comments
hotnewtop
EkylytraRobot (0)

Yes buy how to fix the real problem

xfinnbar (149)

You can't, it's not your fault. Scratch for Discord is broken. @EkylytraRobot

EkylytraRobot (0)

@EkylytraRobot require('events').EventEmitter.defaultMaxListeners = 0

QuickV (128)

I recommend using Python or JavaScript to make discord bots...

xfinnbar (149)

Don't use Scratch for Discord, it's outdated. If you are serious about making a Discord bot, I recommend you learn Python or JavaScript properly.