Package gozerbot :: Module channels :: Class Channels
[hide private]
[frames] | no frames]

Class Channels

source code

     object --+        
              |        
persist.Persist --+    
                  |    
          pdod.Pdod --+
                      |
                     Channels

Channels class .. channels object is a pickled dict of dicts

Instance Methods [hide private]
 
__init__(self, fname)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
getchannels(self)
return channels
source code
 
getchannelswithkeys(self)
return channels with keys
source code
 
getkey(self, channel)
return key of channel if set
source code
 
getnick(self, channel)
return bot nick of channel if set
source code

Inherited from pdod.Pdod: __contains__, __delitem__, __getitem__, __setitem__, get, has_key, has_key2, save, set, setdefault

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, fname)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)