react to message sent by a bot that contains specific text #521
Replies: 1 comment 1 reply
-
client.on('messageCreate', msg => {
if (msg.content?.includes('keyword') && msg.author.id == 'bot id') {
msg.react('✅')
}
}) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Damnbuoy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
thats it. Im noob
Beta Was this translation helpful? Give feedback.
All reactions