BigBrotherBot v1.7.0
System Development Information for the BigBrotherBot project.

b3::plugins::adv::AdvPlugin Class Reference

Inheritance diagram for b3::plugins::adv::AdvPlugin:

List of all members.

Public Member Functions

def onStartup
def onLoadConfig
def save
def loadFromFile
def loadFromConfig
def load
def adv
def getFeed
def cmd_advadd
def cmd_advsave
def cmd_advload
def cmd_advrate
def cmd_advrem
def cmd_advlist

Private Member Functions

def _getRateMinSec

Private Attributes


Static Private Attributes

 _adminPlugin = None
 _cronTab = None
 _msg = None
 _fileName = None
 _rate = None
string _feed = ';action=.xml'
string _feedpre = u'News: '
int _feedmaxitems = 5
int _feeditemnr = 0
int _replay = 0

Member Function Documentation

def b3::plugins::adv::AdvPlugin::_getRateMinSec (   self) [private]
allow to define the rate in second by adding 's' at the end
def b3::plugins::adv::AdvPlugin::adv (   self,
  firstTry = True 
def b3::plugins::adv::AdvPlugin::cmd_advadd (   self,
  client = None,
  cmd = None 
def b3::plugins::adv::AdvPlugin::cmd_advlist (   self,
  client = None,
  cmd = None 
def b3::plugins::adv::AdvPlugin::cmd_advload (   self,
  client = None,
  cmd = None 
def b3::plugins::adv::AdvPlugin::cmd_advrate (   self,
  client = None,
  cmd = None 
def b3::plugins::adv::AdvPlugin::cmd_advrem (   self,
  client = None,
  cmd = None 
def b3::plugins::adv::AdvPlugin::cmd_advsave (   self,
  client = None,
  cmd = None 
def b3::plugins::adv::AdvPlugin::getFeed (   self,
def b3::plugins::adv::AdvPlugin::load (   self,
  items = [] 
def b3::plugins::adv::AdvPlugin::loadFromConfig (   self)
def b3::plugins::adv::AdvPlugin::loadFromFile (   self,
def b3::plugins::adv::AdvPlugin::onLoadConfig (   self)
This is called after loadConfig(). Any plugin private variables loaded
from the config need to be reset here.

Reimplemented from b3::plugin::Plugin.

def b3::plugins::adv::AdvPlugin::onStartup (   self)
Called after the plugin is created before it is started. Overwrite this
for anything you need to initialize you plugin with.

Reimplemented from b3::plugin::Plugin.

def b3::plugins::adv::AdvPlugin::save (   self)

Member Data Documentation

b3::plugins::adv::AdvPlugin::_cronTab = None [static, private]
string b3::plugins::adv::AdvPlugin::_feed = ';action=.xml' [static, private]
int b3::plugins::adv::AdvPlugin::_feeditemnr = 0 [static, private]
int b3::plugins::adv::AdvPlugin::_feedmaxitems = 5 [static, private]
string b3::plugins::adv::AdvPlugin::_feedpre = u'News: ' [static, private]
b3::plugins::adv::AdvPlugin::_fileName = None [static, private]
b3::plugins::adv::AdvPlugin::_msg = None [static, private]
b3::plugins::adv::AdvPlugin::_rate = None [static, private]
int b3::plugins::adv::AdvPlugin::_replay = 0 [static, private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties