client.on('message', message => {
if (message.channel.type === 'text' && message.channel.name.toLowerCase() == "channel-2" && message.content === "test") {
message.react("✅")
}
})
This is the code snippet. Is there a way to make it react only to the first message? For example, if five people send "test" in the same channel, I want it to react only to the first one and ignore the other four.