Now, the bot react only if the content of the message is a mention to it, without any other content. #1

Merged
KaKi87 merged 3 commits from Ionys320/voice-activity-notify-bot:master into master 2020-07-30 19:09:46 +02:00
Showing only changes of commit f4b18ac23c - Show all commits

View file

@ -46,7 +46,7 @@
const messageContent = message.content; const messageContent = message.content;
if(messageContent && messageContent === ('<@!' + clientId + '>')){ if(messageContent && messageContent === (`<@!${clientId}>`)){
const { guild } = message; const { guild } = message;