Raku / whateverable

🤖 Different IRC bots that operate on a bunch of prebuilt Rakudo versions
https://gist.github.com/Whateverable
GNU Affero General Public License v3.0
18 stars 14 forks source link

Bots should respond to messages from the discord bridge #356

Closed taboege closed 5 years ago

taboege commented 5 years ago

Currently it is not possible to use any bot from discord. The bot is not triggered because the discord6 bridge adds the sender as a prefix to the message, masking the prefix that the bots looks for, e.g.

<discord6> | <RaycatWhoDat> m: say 42;

discord6 is a registered nick and has a perl6 project cloak. IMHO that makes it official enough to be hardcoded into whateverable and unpack the bridged message before processing it.