discord console get message code example
Example 1: discord js message
client.on("message", message => {
if (message.content.toLowerCase() === 'Hello') {
message.channel.send("**Hey! What's Up?**")
}
})
// This Will Print "Hey! What's Up?" When Someone Says "Hello" //
Example 2: discord bot edit message
await message.edit(content="the new content of the message")