Ben Kurtovic
d949269944
Some SQL updates, starting work on afc_history task.
* get() -> return a Task instance by name (tasks)
* Using SQL to save API queries. (commands.{afc_report,afc_status})
* ignore_list -> ignoreList in config. (tasks.afc_statistics)
13 anos atrás
Ben Kurtovic
3e5801d5e6
!status nocolor for HallowsAG
13 anos atrás
Ben Kurtovic
48c6b41a8d
Gah!
13 anos atrás
Ben Kurtovic
325cba1d8c
whoops
13 anos atrás
Ben Kurtovic
2172e9d4bb
Revised AFC status message.
13 anos atrás
Ben Kurtovic
953527e473
ignore maxlag on IRC commands, because these are started explicitly by users
13 anos atrás
Ben Kurtovic
9237a7ed9e
all IRC commands should work now; renamed tasks.py to threads.py to avoid conflicting with bot/tasks/
13 anos atrás
Ben Kurtovic
af2e01a330
fixing imports in IRC commands
13 anos atrás
Ben Kurtovic
68af0e796f
restructuring everything for unit tests, etc; bot doesn't work anymore, but I'll fix that in a bit
13 anos atrás
Ben Kurtovic
a2ceb7a855
Update AFCStatus and Rights IRC commands per wikitools updates.
13 anos atrás
Ben Kurtovic
28cbbd7221
afcAFCStatus and Rights IRC commands now use wikitools
13 anos atrás
Ben Kurtovic
f81229a999
don't give a status report to ourselves when we join the AFC channel
13 anos atrás
Ben Kurtovic
e6b3f4c616
tweaking aggregate algorithm to better match {{AFC status}}; cleanup and docstringing on methods
13 anos atrás
Ben Kurtovic
21e87d9d3c
in AFCStatus, use 'if x.y and x.z in [a, b, c]' instead of 'if x.y and (x.z == a or x.z == b or x.z ==c)'
13 anos atrás
Ben Kurtovic
a06e35ecef
moving IRC class modules (base_command.py, connection.py, data.py, rc.py) to irc/classes/
13 anos atrás
Ben Kurtovic
e21a4dfb76
converting four IRC command classes to use new config system; everything's been converted except for irc/watcher.py and everything in wiki/
13 anos atrás
Ben Kurtovic
b7a04ddb1b
argh
13 anos atrás
Ben Kurtovic
2350ba9cef
config/irc_config.py -> config/irc.py; secure_config.py -> secure.py; update in files
13 anos atrás
Ben Kurtovic
23bb094acb
test fix in broken redirect status
13 anos atrás
Ben Kurtovic
e00202fccf
bugfix in afc_status
13 anos atrás
Ben Kurtovic
93caf53cf9
colorrrrr
13 anos atrás
Ben Kurtovic
086a80d443
convert agg_num to int following .status agg <number>
13 anos atrás
Ben Kurtovic
1568b31846
KeyError -> IndexError (please shoot me now)
13 anos atrás
Ben Kurtovic
894c67370f
adding '.status join'; adding '.status agg <num>'
13 anos atrás
Ben Kurtovic
bea6a5456b
+AFCStatus command class; hooks are any joins on a channel in config.AFC_CHANS and the 'status' command
13 anos atrás