I got a problem here where i cant find out how i make so it will remove the !suggest in the message thats gonna be sent im trying to make it so when someone uses !suggest {suggestion} in the specific channel a message will be sent in the #suggestions channel ive got the specific channel up i just want to remove so instead of the bot saying "@user#1234 have suggested !suggest add a goodbye command" it will only say "@user#1234 have suggested: add a goodbye command" basically just removing !suggest heres the code its JavaScript
//Suggestions
client.on("message", message => {
if (message.content.startsWith("!suggest")){
return client.channels.get('514917785248202773').send(message.author.tag+"
suggested " + message.content)
}
});
how would i make it so it removes the !suggest part only? cant find anything on here or internet at all