how to send a message then delete it discord.js message.reply('Invalid command') .then(msg => { msg.delete(10000) }) www.codegrepper.comwww.stackoverflow.com