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.)
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
andircutils.standardSubstitute(irc, m, self.registryValue(...), {'otherNick': msg.nick, 'replacement': subst}
) which gives more flexibility to bot admins (they can use$host
, date, etc.)