Brian S. Stephan
34e0c76dce
migration for aliases plural
2015-05-15 08:31:19 -05:00
Brian S. Stephan
7b93c7d63c
provide reason for failure to load plugin
2015-05-14 21:43:35 -05:00
Brian S. Stephan
0428c30faf
add Alias support
...
allows stuff like ^!die$ -> !quit
no recursion (yet? or maybe i'll never bother), but this should allow
the basic aliases
2015-05-14 21:39:20 -05:00
Brian S. Stephan
e7de9f840d
minor comment cleanup so pycharm highlights it
2015-05-14 10:34:20 -05:00
Brian S. Stephan
34c73fccf9
create a plugin to do common basic irc actions
2015-05-12 22:39:53 -05:00
Brian S. Stephan
438ab414ff
use bot.die() over bot.disconnect()
2015-05-12 22:34:27 -05:00
Brian S. Stephan
14e5fb4d6f
ircbotlib.reply_destination_for_event
...
common idiom that'll only get used more and more, so might as well make
a library method of it
2015-05-12 22:33:09 -05:00
Brian S. Stephan
8c39b017d3
better _handle_event debug message
2015-05-12 22:30:32 -05:00
Brian S. Stephan
c4bfcf3e1b
add BotAdmin, IrcPlugin models
...
a lot of stuff in here around support for loading plugins from arbitrary
files. plugins have a basic amount of initialization and then hook into
the core IRC event system
it makes sense to have modules respond to regexes, so there's some
handler stuff for that --- it was the most popular way to do stuff in
the old version of the bot
we need to check that people trying to load plugins are admins, so
there's some stuff for that, too
the expectation is that many features from here are happen in plugins,
rather than modifying the core bot
2015-05-12 20:45:18 -05:00
Brian S. Stephan
bd3ffd4067
add channel model, support autojoining
...
known channels in the database can be set to autojoin when the bot
starts (when it gets the MOTD, because i couldn't find an "on_connect"
event)
2015-05-10 10:02:25 -05:00
Brian S. Stephan
0ea9c3a164
rename ircbot.py to bot.py
...
ircbot/ircbot.py confused the importer
2015-05-09 20:03:55 -05:00
Brian S. Stephan
3d61838a92
start the new ircbot framework
2015-05-09 18:56:26 -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