LBRYFoundation / lbry-wunderbot

https://chat.lbry.io
MIT License
23 stars 41 forks source link

[Minor bug] mentioning wunderbot then a command triggers "yes?" then the command response #305

Closed littlemadhatter closed 2 years ago

littlemadhatter commented 4 years ago
    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: image

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)

Coolguy3289 commented 3 years ago

Mentions are broken right now, is up to be fixed next.

Coolguy3289 commented 2 years ago

Fixed