d5e1a2ed45
actually use an f-string when querying wttr.in
2019-10-06 10:44:21 -05:00
5f6e255ded
fix some line length violations in weather/ircplugin.py
2019-10-06 09:34:01 -05:00
c0c0306419
expose weather report as an rpc view
2019-10-06 09:33:46 -05:00
56d0e26c6d
reimplement !weather in the IRC bot
2019-10-06 09:13:51 -05:00
b42d0ac0e9
pin irc==15.0.6 in requirements
2019-10-05 11:34:28 -05:00
31758b80b6
weather: start rewriting weather plugin to use wttr.in
2019-10-05 10:36:28 -05:00
802072caed
add markov RPC method for learning a line
2019-09-19 00:21:18 -05:00
9e4bc595a4
add markov RPC method for generating a line from a context
2019-09-19 00:12:36 -05:00
d34fb18949
rename 'home' view as 'index', fixes DEBUG page behavior
2019-06-29 09:41:28 -05:00
abce0262f3
provide dice_str in exceptions, where applicable
2019-06-29 09:24:16 -05:00
b917f78ca5
replace dice sanity checks as asserts
2019-06-29 09:23:35 -05:00
c2aa3df13f
fix some '!= None' checks, rewrite as 'is not None'
2019-06-29 09:23:02 -05:00
6b8dd1a645
dos2unix dice/*
2019-06-22 11:45:09 -05:00
649a148209
don't assert on trials if they aren't provided
2019-06-22 11:43:30 -05:00
8fcc8365e3
add a dice rolling API view to the django app
2019-06-21 18:07:10 -05:00
f78d407d4c
move DiceRoller to its own module
...
while I'm doing that, standardize the usage of raising exceptions when parsing goes wrong
2019-06-21 16:53:40 -05:00
8528152483
remove dice cthulhutech roll. hasn't been used in forever
2019-06-21 16:51:09 -05:00
f2fb0a26a4
remove unnecessary unicode_literal future imports, we py3 now
2019-06-21 15:23:33 -05:00
0f88715ffd
remove unnecessary requirements-server.*
2019-06-21 10:06:17 -05:00
2f98a64cdd
version bumps and migration to django 2.2
2019-06-21 10:05:40 -05:00
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
2bae93778e
admin: show core admin models again in admin
2018-06-04 16:11:19 -05:00
c02d76d178
properly prospect all of the code
...
the move to flatten the directories one level of dr_botzo is probably
what caused this to be bad
2017-12-01 13:21:31 -06:00
7fb3738f5a
Add changelog
2017-07-11 10:38:12 -05:00
1e1750e983
karma: only show the top 5 karmaers, as intended
2017-06-07 14:33:49 -05:00
6572a54cd2
karma: just some whitespace code quality stuff
2017-06-07 14:26:35 -05:00
4bf922eef0
mpdbot: show icecast site in the output
2017-03-10 20:53:59 -06:00
217b8a15cd
simple mpd client thing
...
gets now playing status
2017-03-10 20:36:56 -06:00
474afe2576
do some ircbot prospector cleanup
...
bss/dr.botzo#17
2017-03-10 18:51:36 -06:00
dbc4e6fe6f
rename event._recursing to event.recursing
2017-03-10 18:29:31 -06:00
55c1cf01a2
countdown: use new event addressed stuff
...
lets countdown.ircplugin use the regex handler and do less checking
itself
2017-03-10 18:21:29 -06:00
1e428b77db
bot: add most_specific_msg for convenience
...
returns original_msg or addressed_msg, depending on the context
related to bss/dr.botzo#32
2017-03-10 18:16:35 -06:00
a79d0cdd9f
bot: add a bunch of event attrs related to msgs
...
- event.addressed - msg started with 'bot: '
- event.original_msg - the pub/privmsg
- event.addressed_msg - pub/privmsg minus 'bot: '
- event.sender_nick - nick of event.source
- event.sent_location - channel or nick of event.source
- event.in_privmsg - if the event was in a privmsg or not
closes bss/dr.botzo#32
2017-03-10 18:16:11 -06:00
0003c0c16e
bot: default _recursing to False
2017-03-09 08:06:31 -06:00
936db45359
dice: don't address roller when recursing
...
allows !echo blah [!random foo bar] to reply with "blah bar" rather
than "blah bss: bar", for example
2017-03-02 09:40:23 -06:00
44c8863d35
countdown: print the item name on new reminders
...
this is so that we can delete them later
bss/dr.botzo#33
2017-03-02 09:37:18 -06:00
6f9bbd304f
bot: don't strip []s if no replacement happened
2017-02-26 10:42:32 -06:00
c4714d3691
countdown: add pronoun conversion to reminders
2017-02-26 10:39:49 -06:00
995bb643f3
attempt to have outbound recursion
...
same logic as replacing [subcommand] with the output of subcommand, but
on the outbound side, via {subcommand}. this lets you do something like,
say:
!echo {!facts buh}
and that won't get interpreted until '{!facts buh}' is on its way out of
the bot. thus, you could also put '{!facts buh}' into the output of some
other command, like a countdown reminder
2017-02-23 21:35:03 -06:00
b58b208f29
Merge branch 'countdown-reminders' into 'master'
...
Add recurrence, and recurrence ceilings, to reminders
Closes #31 and #30
See merge request !17
2017-02-23 19:38:27 -06:00
1b1ae9638d
countdown: add "recurring until" support
...
tacking onto the recurring option, this allows for having the
recurringness end after a while.
closes bss/dr.botzo#31
2017-02-23 19:35:47 -06:00
bdbba249cd
countdown: let reminders be recurring
...
when creating a reminder, describe it as "and every X" and it'll refire
over that period, rather than only firing once
closes bss/dr.botzo#30
2017-02-23 19:11:28 -06:00
76b70ec784
countdown: use match labels in new reminder regex
...
this thing is going to get hairy soon, so might as well do this now
2017-02-23 18:50:03 -06:00
5b79cea3c6
countdown: add TODO to improve cheap workaround
2017-02-23 09:03:17 -06:00
57903b4728
countdown: don't select future reminders in thread
2017-02-23 09:02:46 -06:00
71a797e3fa
countdown: add "about" to new reminder regex
2017-02-23 09:02:21 -06:00
75f5985d71
countdown: simpler reminders when in privmsg
2017-02-22 23:10:01 -06:00
48beddb580
countdown: make new reminder regex non-greedy
2017-02-22 22:25:20 -06:00
0c69530cf9
Merge branch 'countdown-reminders' into 'master'
...
Countdown reminder feedback
See merge request !16
2017-02-22 22:17:37 -06:00
04f11f97df
countdown: provide feedback when reminder created
...
bss/dr.botzo!16
2017-02-22 22:15:29 -06:00