Ask coding questions

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

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

Answered by xfinnbar [earned 5 cycles]
View Answer
Voters
EkylytraRobot
Comments
hotnewtop
EkylytraRobot

Yes buy how to fix the real problem

xfinnbar

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

EkylytraRobot

@xfinnbar I figured it out

EkylytraRobot

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

QuickV

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

xfinnbar

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.