Commit graph

15 commits

Author SHA1 Message Date
Mike Leigh
2a3c0e1723 Update help.py
The new permissions have broken the help.  This patch corrects the help behaviour.

To replicate send .help and you should get the following error:
Unhandled exception in thread started by <function run at 0x7fe5e63018c0>
Traceback (most recent call last):                                       
  File "core/main.py", line 63, in run                                   
    out = func(input.inp, **kw)                                          
  File "plugins/help.py", line 16, in help                               
    input.nick in bot.config["admins"] or\                               
KeyError: 'admins'

With this patch the help responds as expected.
2013-08-01 13:21:11 +01:00
Luke Rogers
e12e7721da PEP8, various other tweaks 2012-09-05 07:52:03 +12:00
neersighted
54cf797b1e Updated helpstrings 2012-05-15 20:07:27 -07:00
neersighted
75a001ad5d Added the prefix to help.py, so that help messages show the right prefix 2012-05-15 19:54:11 -07:00
neersighted
508fec8ae8 PEP8, lots of tweaks/fixes 2012-04-02 09:17:55 -07:00
Luke Rogers
3e5c2c94d9 added input.mask. returns 'user@host' 2012-03-22 17:04:48 +13:00
Luke Rogers
c168a179e3 Changed method of checking for admin powers, small tweaks 2012-03-13 09:31:41 +13:00
neersighted
ed50bc746c pep8 much? 2012-02-29 00:29:53 -08:00
neersighted
5bce8eec22 permission changes 2012-02-27 22:46:47 -08:00
neersighted
c58192f72c overhauled help 2012-02-28 10:41:53 +08:00
lukeroge
38ef033713 Undid debug work in plugins/help.py 2012-02-21 12:18:06 +13:00
lukeroge
b72e2d3fde Small fix in plugins/help.py 2012-02-21 11:48:21 +13:00
lukeroge
71661983df Started cleaning up plugins/help.py 2012-02-21 11:31:18 +13:00
Luke Rogers
7c1fd68948 Did a bunch of tweaks 2012-02-20 00:00:51 +13:00
Luke Rogers
37588421f3 First :D 2011-11-20 22:23:31 +13:00