mirror of
https://github.com/LBRYFoundation/lbry-wunderbot.git
synced 2025-08-23 17:47:27 +00:00
Update bot.js
This commit is contained in:
parent
4d4643a893
commit
d16cdde103
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ function checkMessageForCommand(msg, isEdit) {
|
|||
return;
|
||||
}
|
||||
if (msg.author !== bot.user && msg.mentions.has(bot.user.id)) {
|
||||
if (!msg.content.includes("@here") || !msg.content.includes("@everyone") {
|
||||
if (!msg.content.includes("@here") || !msg.content.includes("@everyone")) {
|
||||
msg.channel.send('yes?'); //using a mention here can lead to looping
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue