Brian S. Stephan
1bbb64618d
bot: capture exceptions, try to report on them
...
it beats crashing, probably
2017-02-22 22:08:04 -06:00
Brian S. Stephan
015eacbe53
xmlrpc: expose IRCBot.reply, use it over privmsg
...
converts dispatch and the admin form to reply
closes bss/dr.botzo#21
2017-02-12 11:41:29 -06:00
Brian S. Stephan
23bb5cdd78
allow IRCBot.reply() to work eventless
...
reply() used to require an event, but all it used it for was to
determine the destination and to identify recursion. basically, strictly
only -replies-. we can make this a more robust privmsg, too, by adding
explicit_target and inferring recursion as False. this will let
basically any code currently using privmsg to use reply instead, and
benefit from multi-line and line splitting
bss/dr.botzo#21
2017-02-12 11:33:13 -06:00
Brian S. Stephan
010afd05ce
add some anti-flood protection stuff
...
this throttles multi-line messages in a way that probably doesn't affect
the normal cases much, and scales fairly well to far longer text. for
some reason long ascii art still triggers the flood detection, but with
this code at least it happens later in the process. so, success, for
now? i can fix the ascii art at some future point if i ever hit it
practically
closes bss/dr.botzo#23
2017-02-12 10:58:18 -06:00
Brian S. Stephan
8b4f8b2545
move message splitting into IRCBot.reply()
...
leaves IRCBot.privmsg() pretty vanilla. this should make it clearer
which version for modules/etc to use (hint: it's reply)
bss/dr.botzo#21
2017-02-12 10:47:27 -06:00
Brian S. Stephan
8f8af4e6b4
package updates and resulting compat stuff
...
changes to urls.py in the django views, trivial __init__ change for the
irc library stuff
bss/dr.botzo#16
2017-02-06 22:58:51 -06:00
Brian S. Stephan
cd23f062a9
collapsing all of dr_botzo one directory
2017-02-04 11:51:22 -06:00
Brian S. Stephan
2dc2b6a8a2
remove old IRC bot entirely
...
the porting is complete, everything i care about has been moved to the
django-based codebase, and this old junk can finally go
IT IS A NEW ERA, one of maintainability and flexible changes. after
years of procrastinating, i have finally done this. the future is now
2015-06-19 21:50:35 -05:00
Brian S. Stephan
adb88c3e95
Storycraft: ported to ircbot v2. deleted
...
this means the entire modules directory is essentially replaced. we're
in thissssssssssss
2015-06-19 21:11:18 -05:00
Brian S. Stephan
482870621b
Dispatch: ported to django REST framework. deleted
2015-06-18 23:59:25 -05:00
Brian S. Stephan
fccb5f3fb3
Acro: ported to ircbot v2. deleted
2015-06-18 18:48:51 -05:00
Brian S. Stephan
b3da273b2d
Countdown: ported to ircbot v2. deleted
2015-06-18 09:20:22 -05:00
Brian S. Stephan
e18e629547
Twitter: ported to ircbot v2. deleted
2015-06-16 20:28:36 -05:00
Brian S. Stephan
618a042935
IrcAdmin: ported to ircbot v2. deleted
2015-06-16 19:04:52 -05:00
Brian S. Stephan
aca4ed3eac
Races: ported to ircbot v2. deleted
2015-06-13 13:41:54 -05:00
Brian S. Stephan
7876ad2290
Markov: ported to ircbot, noted last TODO. deleted
2015-06-13 13:19:18 -05:00
Brian S. Stephan
6eb589d2d6
Dice: ported to ircbot v2. deleted
2015-05-27 21:02:18 -05:00
Brian S. Stephan
c486cabd4e
TextTransform: ported to bot v2. deleted
2015-05-27 20:07:22 -05:00
Brian S. Stephan
6842fad841
Facts: ported to ircbot v2. deleted
2015-05-21 22:33:35 -05:00
Brian S. Stephan
56b288e8b4
Pi: ported to new bot. deleted
2015-05-21 21:42:37 -05:00
Brian S. Stephan
c9542c1617
Karma: ported to irc bot v2. deleted
2015-05-19 22:01:19 -05:00
Brian S. Stephan
244e1c3fb8
Seen: ported to irc bot v2. deleted
2015-05-15 22:40:38 -05:00
Brian S. Stephan
6982e6d438
TopicDump: obsoleted, replaced. deleted
2015-05-15 21:48:49 -05:00
Brian S. Stephan
b15afcade8
old-web: deleting, it is no longer valuable
2015-05-15 21:24:25 -05:00
Brian S. Stephan
1bd57a8c3b
Weather: ported to new bot. deleted
2015-05-15 21:23:01 -05:00
Brian S. Stephan
196e12b5d0
Echo has been ported. deleted
2015-05-15 19:50:18 -05:00
Brian S. Stephan
77f8a1dd38
Babelfish stopped working a long time ago. deleted
2015-05-15 19:49:15 -05:00
Brian S. Stephan
c6cc9c4c62
Achievements is old and unused. deleted
2015-05-15 19:48:48 -05:00
Brian S. Stephan
e7839606ec
EightBall: removing, obsoleted by facts randomness
...
we never used this anyway
2015-05-15 08:38:42 -05:00
Brian S. Stephan
c371df5eb0
markov: move shared methods into lib.py
2015-05-15 08:36:17 -05:00
Brian S. Stephan
69fbcf2fb5
properly bootstrap the irc bot
2015-05-08 23:38:59 -05:00
Brian S. Stephan
ad30f2e263
bootstrap ircbot properly
2015-05-08 23:09:35 -05:00
Brian S. Stephan
1484aded84
reorganizing project directories, part 2
2015-05-08 20:44:24 -05:00
Brian S. Stephan
2ffdf26ec2
reorganizing project directories, part 1
2015-05-08 20:37:22 -05:00
Brian S. Stephan
b7b165fd8f
Markov: default bot to only one sentence replies
2014-05-03 21:00:48 -05:00
Brian S. Stephan
244720934c
Markov: rename internal methods to make them clear
2014-05-03 20:47:48 -05:00
Brian S. Stephan
3856a1e95b
Markov: try to fix unicode errors in irc bot
2014-05-03 20:44:52 -05:00
Brian S. Stephan
f1ff281da2
Markov: port IRC bot module to django models
...
work in progress, not everything works yet, but the important stuff
should
2014-04-05 15:55:33 -05:00
Brian S. Stephan
643147cec7
Races: add FK to Race in RaceUpdate
2014-03-20 18:36:52 -05:00
Brian S. Stephan
1157fab28f
Races: log the proper thing on a start
2014-03-20 18:32:48 -05:00
Brian S. Stephan
5fff9411a5
Races: add module to do a crude racebot thing
...
join/start/update/finish/leave. good enough start i think
2014-03-16 15:46:15 -05:00
Brian S. Stephan
3316f4a868
Seen: don't overwrite the speaking nick
...
in case we ever need it for anything
2014-03-16 15:14:34 -05:00
Brian S. Stephan
bda4b78564
DrBotIRC: have regex handler take list of events
...
forgot to commit the unhook part
2014-03-16 15:09:46 -05:00
Brian S. Stephan
0c7e4023ac
Seen: convert to new-style module
2014-03-16 15:04:24 -05:00
Brian S. Stephan
319fb5b7e9
DrBotIRC: have regex handler take list of events
...
this is for convenience since doing pubmsg+privmsg will be pretty common
2014-03-16 15:02:04 -05:00
Brian S. Stephan
930523e818
Seen: strftime the output seen time
2014-03-16 12:47:47 -05:00
Brian S. Stephan
ce761e56b3
Seen: don't use ModificationDateTimeField
...
this is so we can set it properly in an import script
2014-03-16 12:16:21 -05:00
Brian S. Stephan
84ee09d4a3
migrate Seen to django models and whatnot
...
this also adds south and django_extensions stuff, because that is the
natural thing to do. this is a pretty good start, i think
2014-03-16 11:35:01 -05:00
Brian S. Stephan
4633c936fb
have dr.botzo use django settings
...
a couple are set as a proof of concept, too lazy to move everything
right now
2014-03-16 09:59:52 -05:00
Brian S. Stephan
e7b132348f
actually i need to call this ircbot
...
so i don't collide with the django dr_botzo
2014-03-16 09:18:17 -05:00