if (msg.author !== bot.user && msg.isMentioned(bot.user)) {
msg.channel.send('yes?'); //using a mention here can lead to looping
} else {
}
in bot/bot.js triggers:
Alternatives: Allow if a valid command after a ping to respond with the command and not the "yes" (Kind of like a secondary prefix being the ping, I vote for this one),
Check if the msg has a vaild command after the ping to not respond (Not suggestible),
get rid of quirk (if you don't like quirks)
in bot/bot.js triggers:
Alternatives: Allow if a valid command after a ping to respond with the command and not the "yes" (Kind of like a secondary prefix being the ping, I vote for this one), Check if the msg has a vaild command after the ping to not respond (Not suggestible), get rid of quirk (if you don't like quirks)