Commit Graph

14 Commits

Author SHA1 Message Date
Brian S. Stephan 333424025b support markov targets with identical names on different servers
markov targets are queried and autogenerated based on chatter, but had a
legacy name which is no longer in use for this, preferring the foreign
keys to channel and consequently server. the name is really just
informative these days, but was still being used to find targets, and
thus was breaking when two servers had the same channel name in them.
this fixes that
2023-05-04 17:24:07 -05:00
Brian S. Stephan 39290fb63c
allow : and , after @bot mentions 2023-02-19 22:55:14 -06:00
Brian S. Stephan 0227b74eee
when creating a markov target, tie it to ircbot models 2023-02-19 18:26:00 -06:00
Brian S. Stephan f59dc35b25
test the combination of bridge and addressing learning 2023-02-19 18:26:00 -06:00
Brian S. Stephan ec1767e38b
remove the speaker from messages coming over the bridge when learning 2023-02-19 18:26:00 -06:00
Brian S. Stephan 0bfe3f9549
variable tweak to match other plugins (nick -> who) 2023-02-19 18:26:00 -06:00
Brian S. Stephan d24f74e53f
don't build trimmed_what until we know not to ignore chatter 2023-02-19 17:55:41 -06:00
Brian S. Stephan b3b8f832a2 remove unused import 2021-05-04 19:30:11 -05:00
Brian S. Stephan 43f2b09057 don't add the empty string to additional nicks
thinko on my part, this was making the regex for matching all nicks to
'|nick' when the field is '', because of split producing ['']. in
particular this was making markov trigger on every line
2021-04-25 21:00:34 -05:00
Brian S. Stephan 9c1109107b relate channels to their server
this is necessary for supporting multiple irc servers in one bot config.
this also has the side effect of requiring some code in ircbot and
markov which autocreates channels to also include the server (retrieved
via the connection). this will again help keep channels coherent for
multi-server arrangements

the twitter bot change here is untested but seems like the right idea (I
haven't used the twitter package in forever)
2021-04-25 11:13:10 -05:00
Brian S. Stephan 6136127c5f move IRC server settings to database
this is the first step in trying to get the bot to support multiple
servers with different channels, countdown triggers, and so on

this also ends up affecting some configuration around:
* dispatch
* markov
* admin privmsg form
2021-04-25 10:17:41 -05:00
Brian S. Stephan 0589939137 support multiple strings as counting as nick highlights
also, treat @nicks as being addressed, since we are doing discord
through bitlbee now
2019-01-10 08:48:15 -06:00
Brian S. Stephan dbc4e6fe6f rename event._recursing to event.recursing 2017-03-10 18:29:31 -06:00
Brian S. Stephan cd23f062a9 collapsing all of dr_botzo one directory 2017-02-04 11:51:22 -06:00