Commit Graph

5 Commits

Author SHA1 Message Date
Dico200
de43b0d0db Added (sub/main)command, removed abot error check
@command is untested.
2015-04-03 02:01:57 +02:00
Dico200
661e25dc67 Some tweaks and updates 2015-03-29 12:48:32 +02:00
Dico200
6590a8d30a Added cmd check to ABOT, commented out advancedcmd
advancedcmd doens't work atm, apparently
function.func_code is a thing but adding co_consts isn't an attribute of
that.

Tested abot, seems to work well.
2015-03-28 16:39:09 +01:00
Dico200
4cfa3a598f Tiny tweaks in basecommands.py 2015-03-26 16:48:54 +01:00
Dico200
75823ed042 Added basecommands.py
Contains @simplecommand and @basecommand
Slightly alterred simplecommand, made both display the command's
required permission when displaying help if the sender has the
permission "utils.showpermission".

Also a small tweak in misc.py's join listener.
2015-03-26 16:44:21 +01:00