debf086b8d
test the ability to not learn our nick when addressed
2023-02-19 18:26:00 -06:00
ec1767e38b
remove the speaker from messages coming over the bridge when learning
2023-02-19 18:26:00 -06:00
0bfe3f9549
variable tweak to match other plugins (nick -> who)
2023-02-19 18:26:00 -06:00
363ec49097
add test to confirm markov irc plugin behavior
2023-02-19 18:25:57 -06:00
8549c2ef8a
set pytest settings to aid testing
2023-02-19 17:55:42 -06:00
d24f74e53f
don't build trimmed_what until we know not to ignore chatter
2023-02-19 17:55:41 -06:00
f812857d75
add discord bridge field to the channel model
...
will be used in a future change to clean up markov chains
2023-02-19 17:55:41 -06:00
3d0be3c25a
linter fixes for markov library methods
2023-02-19 17:55:38 -06:00
8b3caabb57
linting fixes on the markov models
2023-02-16 16:17:49 -06:00
1cf0364268
move templates aroudn to satisfy packaging now that it's being tested
2023-02-16 16:14:06 -06:00
337e4db650
update urls.pyes to use path() and add some tests
2023-02-16 00:04:25 -06:00
95396802de
add safety dependency checking
2023-02-15 20:09:26 -06:00
4bcf06d5e7
version bumps, with some hopefully temporary pins
...
* django pinned to <4 since there are compatibility things to fix first
* tox pinned to <4 because of issues where it's incompatbile with safety
(safety itself coming in a moment)
2023-02-15 19:51:46 -06:00
54bf00b167
remove references from deleted twitter module
2023-02-15 19:49:27 -06:00
133c1df638
add python 3.9, 3.10 to support via tox
2023-02-15 18:17:32 -06:00
7c44becaa0
drop unsupported python 3.6, 3.7
2023-02-15 18:00:21 -06:00
76bcdd5fef
config flag for having !dice/!random prefix the nick
...
with the discord-irc bridge in play, the bot was sending all !roll
results to the bridge user, which wasn't all that useful
2022-07-14 23:00:05 -05:00
1f5dc50d89
remove dead auth_login login URL variable
2021-12-13 15:08:24 -06:00
bc7108cfb7
properly calculate relative offsets via parseDT
2021-12-01 07:51:58 -06:00
dfdd6d6dc5
remove registration stuff from templates
2021-10-27 07:50:57 -05:00
75a1b8d7f3
version bump (new Django!) and remove twitter lib
2021-10-27 07:50:13 -05:00
fd5c4dad1a
remove unused import
2021-10-26 23:10:45 -05:00
7264deee2a
remove the long unsupported and unused twitter module
2021-10-26 22:58:24 -05:00
76e5546bcb
remove django registration stuff, unused/desired
2021-10-26 22:25:08 -05:00
739d3fa2b7
new coat of paint on facts: !f shortcut, natural language fact adding
...
note that for now anyone can add a fact, going to assume responsible
usage on the part of users on my networks
2021-10-14 08:17:54 -05:00
6ab86f773c
irc plugin to turn text into zalgo text
2021-05-17 10:07:34 -05:00
3d5e6754e8
add zalgo-text and bump pip-tools
2021-05-17 09:46:43 -05:00
ab1d3456ad
only show PRIVMSGed if we had something to PRIVMSG
2021-05-06 09:36:28 -05:00
a550bf07ac
discard from set to ignore KeyError
2021-05-06 09:36:28 -05:00
3fe0a8e59e
initialize state stuff in __init__
...
this shouldn't practically matter but whatever
2021-05-06 09:36:23 -05:00
0ccb49e7ed
make catchup regex insensitive, use alt wording
2021-05-06 09:27:41 -05:00
651399f5fc
delete history pointer after reporting
2021-05-05 08:44:40 -05:00
0b3386e183
display channel count in the privmsg report
2021-05-05 08:42:23 -05:00
b21421a395
give feedback on lines missed regardless of pub/privmsg
2021-05-05 08:36:32 -05:00
9368c8b823
also report on where history was said
...
kind of an obvious thing to do which I naturally missed
2021-05-05 08:13:04 -05:00
def5964658
track, display timestamp of history
2021-05-05 08:08:47 -05:00
e43807fb27
initial (and working?) version of history tracking plugin
2021-05-05 08:03:56 -05:00
b3b8f832a2
remove unused import
2021-05-04 19:30:11 -05:00
b971b72af8
put current weather and forecast on separate lines
...
the long location string means this is often bleeding into two lines at
the very end anyway, so this just looks nicer
2021-04-26 11:52:43 -05:00
40286eeafc
replace IRC color codes with nothing
2021-04-25 23:19:18 -05:00
d888c5f03b
add Pi simulation values to serializer
2021-04-25 21:08:38 -05:00
d7b7bdf73d
add another word match for countdown text triggers
2021-04-25 21:05:09 -05:00
a03c69258f
use per-server IrcChannel for reminders
...
this makes it so that if we have multiple bot instances running, they
will only pay attention to the countdown items for their current server
2021-04-25 21:04:11 -05:00
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
3aa3fb14e4
add RPC API to retrieve fact(s)
2021-04-25 18:48:34 -05:00
1fc8af09f8
use nearest area to produce return location
2021-04-25 16:34:01 -05:00
53c874dc21
option to replace IRC control chars with markdown
...
^C^B isn't allowed through Discord's API, and I'm sure some other stuff
like colors that I don't use. this makes it a server option to replace
them with Markdown, though I think this would only ever be interesting
for BitlBee + Discord
2021-04-25 12:11:59 -05:00
1036c08147
only autojoin channels for this connection
2021-04-25 11:38:19 -05:00
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
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