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);
755k questions
754k answers
5 comments
53.3k users