Im making a command called -note, which would send a note to console for me to look at. I can't seem to figure out how to split the 2nd part after the command and then log it to console. Thanks
This is very easy:
let msg = message.content.split(" ").slice(1).join(" "); console.log(msg);
2.1m questions
2.1m answers
60 comments
57.0k users