progval / Limnoria

A robust, full-featured, and user/programmer-friendly Python IRC bot, with many existing plugins.
https://docs.limnoria.net/
Other
622 stars 174 forks source link

Implement changing of sed response per channel (fixes #1433) #1556

Closed famfo closed 1 year ago

progval commented 1 year ago

Thanks! Could you also make the '%s thinks %s' part configurable?

In order for it to make sense, you can use two independent config variables, ie. $nick meant to say: $replacement and $otherNnick thinks $nick meant to say: $replacement and ircutils.standardSubstitute(irc, m, self.registryValue(...), {'otherNick': msg.nick, 'replacement': subst}) which gives more flexibility to bot admins (they can use $host, date, etc.)

famfo commented 1 year ago

Sure, I can look into it.

progval commented 1 year ago

@famfo thanks!