I understand the title is rather unclear; what I'm looking for is a proper way to take the content of a message, and turn it into a single string, even if it includes spaces. Currently, what I have is on(chat:message, function (msg) { msg.content.replace("!foo bar etc more","").split(" ")
doing stuff with the above
Is there any way to take the 'more' part and use it as a single string, even if it contains spaces? Thanks, James W.