I need help with my code

Code;

message is not defined? Place it inside your message event handler (i.e. client/bot.on(‘message’, (message) => { … })
P.S. this is not a Glitch related issue.

Just gonna give you a note here. This is in the #coding-help section so it doesn’t need to be a Glitch issue.

1 Like

Did you try defining message in your command handler?