Package gozerbot :: Module commands :: Class Commands
[hide private]
[frames] | no frames]

Class Commands

source code

object --+    
         |    
      dict --+
             |
            Commands
Known Subclasses:

commands object is a dict containing the commands

Instance Methods [hide private]
 
__setitem__(self, name, value)
x[i]=y
source code
 
__delitem__(self, name)
del x[y]
source code
 
size(self)
nr of commands
source code
 
whatperms(*args, **kwargs)
the locked function
source code
 
list(*args, **kwargs)
the locked function
source code
 
getfuncnames(*args, **kwargs)
the locked function
source code
 
permoverload(*args, **kwargs)
the locked function
source code
 
add(*args, **kwargs)
the locked function
source code
 
apropos(*args, **kwargs)
the locked function
source code
 
unload(*args, **kwargs)
the locked function
source code
 
whereis(*args, **kwargs)
the locked function
source code
 
perms(self, name)
get permission of command
source code
 
setperm(self, name, perm)
set permission of command
source code
 
getcommand(*args, **kwargs)
the locked function
source code
 
dispatch(self, com, txt)
dispatch command
source code

Inherited from dict: __cmp__, __contains__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __hash__, __init__, __iter__, __le__, __len__, __lt__, __ne__, __new__, __repr__, clear, copy, fromkeys, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values

Inherited from object: __delattr__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__setitem__(self, name, value)
(Index assignment operator)

source code 

x[i]=y

Overrides: dict.__setitem__
(inherited documentation)

__delitem__(self, name)
(Index deletion operator)

source code 

del x[y]

Overrides: dict.__delitem__
(inherited documentation)

whatperms(*args, **kwargs)

source code 

the locked function

Decorators:
  • @locked

list(*args, **kwargs)

source code 

the locked function

Decorators:
  • @locked

getfuncnames(*args, **kwargs)

source code 

the locked function

Decorators:
  • @locked

permoverload(*args, **kwargs)

source code 

the locked function

Decorators:
  • @locked

add(*args, **kwargs)

source code 

the locked function

Decorators:
  • @locked

apropos(*args, **kwargs)

source code 

the locked function

Decorators:
  • @locked

unload(*args, **kwargs)

source code 

the locked function

Decorators:
  • @locked

whereis(*args, **kwargs)

source code 

the locked function

Decorators:
  • @locked

getcommand(*args, **kwargs)

source code 

the locked function

Decorators:
  • @locked