Commit Graph

787 Commits

Author SHA1 Message Date
9a4429d3d9 seen command and tracking of when people speak in pubmsg. stored in config so that it can be loaded between sessions 2010-07-25 09:34:28 -05:00
327c519220 privmsg interface stuff is obsolete now 2010-07-25 09:01:13 -05:00
2872a54ef2 allow quit command in pubmsg now that we have bot prefixing (and of course, the admin stuff is also necessary) 2010-07-25 08:53:41 -05:00
f6319244c8 only run commands in pubmsg if the bot has been addressed 2010-07-25 08:52:48 -05:00
d1d54ca35c pretty trivial variable renames for bot connection variables 2010-07-25 08:24:04 -05:00
51659c6078 pubmsg handler, uses most admin commands so far (may do all of them soon, after i add bot prefixing) 2010-07-25 08:20:58 -05:00
934e8e3fe8 check for channel with is_channel in a couple places where it's relevant 2010-07-25 07:58:52 -05:00
f170743837 genericify existing admin functions, move standard variable declaration to on_privmsg and use them as arguments, use nm_to_n/nm_to_uh irclib functions for getting nick/userhost 2010-07-25 07:54:11 -05:00
317d0d575d move join/part/quit/autojoin to separate functions. part 1 of making things generic 2010-07-25 07:34:54 -05:00
bad1a82dc4 give some feedback on successful commands 2010-07-24 13:44:45 -05:00
90df8db714 support for manipulating the autojoin list 2010-07-24 13:36:13 -05:00
c12dd27d81 ignore dr.botzo.cfg 2010-07-24 13:24:27 -05:00
afc9ef7ead write config file when quitting 2010-07-24 13:23:37 -05:00
8fcd0a9949 dr.botzo.cfg -> dr.botzo.cfg.example, now that quitting the bot's connection will save the config and create a lot of noise if i were committing all of that 2010-07-24 13:22:07 -05:00
435c04e2aa admin command comments 2010-07-24 13:15:10 -05:00
85046a8277 move channel autojoin into a separate section, load it differently 2010-07-24 12:59:51 -05:00
9365176bbe add quit admin command 2010-07-24 12:52:27 -05:00
d58f4ade61 a couple basic admin commands 2010-07-24 12:42:25 -05:00
6765a539e9 privmsg handler stub 2010-07-24 12:22:35 -05:00
f310eadb6a usermode as config file option 2010-07-24 11:45:46 -05:00
e4e2014086 more options loading, debug mode 2010-07-24 11:34:19 -05:00
59d44640d7 set mode -x, i should put this in the config file 2010-07-24 10:51:07 -05:00
500f689774 basic irc connection code 2010-07-24 10:47:33 -05:00
a6ba5ef40c seems to need python 2.x for the moment 2010-07-24 10:39:58 -05:00
0260bc2c76 removing old irclib dir 2010-07-24 10:33:09 -05:00
8bef6777ec moving irclib.py out of module dir 2010-07-24 10:32:52 -05:00
9e7c2b707e import specific class and exceptions for configparser 2010-07-24 10:26:54 -05:00
2875bacae4 Merge branch 'master' of ayu.incorporeal.org:dr.botzo 2010-07-24 10:15:48 -05:00
2182b89784 accidentally checked in ircbot.py long ago, instead of irclib.py. fixing 2010-07-24 10:15:34 -05:00
ea0610409a one more exception caught, more verbose sys.exit 2010-07-24 10:14:47 -05:00
398514a422 from configparser import *, light exception handling in initial value load 2010-07-24 10:12:00 -05:00
e792c22a8e name -> ircname variable rename to fit with irclib 2010-07-24 10:03:27 -05:00
f45712a94e test loading from a config file 2010-07-24 09:54:38 -05:00
10554dd4a5 basic config file 2010-07-24 09:54:11 -05:00
72997ffde3 ignore *.swp, *.pyc 2010-07-24 09:53:32 -05:00
4120438731 importing the relevant bits of python-irclib-0.4.8 2010-04-23 20:59:54 -05:00
baf0982f66 adding a dumb README file as a test, until i start actually working on
the bot
2010-04-23 18:56:54 -05:00