BigBrotherBot v1.6.0
System Development Information for the BigBrotherBot project.
Public Member Functions | Private Attributes | Static Private Attributes

b3::plugins::spamcontrol::SpamcontrolPlugin Class Reference

Inheritance diagram for b3::plugins::spamcontrol::SpamcontrolPlugin:

List of all members.

Public Member Functions

def onStartup
def onLoadConfig
def cmd_spamins
def onEvent

Private Attributes


Static Private Attributes

int _maxSpamins = 10
int _modLevel = 20
float _falloffRate = 6.5

Member Function Documentation

def b3::plugins::spamcontrol::SpamcontrolPlugin::cmd_spamins (   self,
  cmd = None 
<name> - display a spamins level
def b3::plugins::spamcontrol::SpamcontrolPlugin::onEvent (   self,
Called by B3 when a registered event is encountered. You must overwrite
this to intercept events.

Reimplemented from b3::plugin::Plugin.

def b3::plugins::spamcontrol::SpamcontrolPlugin::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::spamcontrol::SpamcontrolPlugin::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.

Member Data Documentation

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