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

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

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

List of all members.

Public Member Functions

def onStartup
def onLoadConfig
def cmd_spamins
def onEvent
def onStartup
def onLoadConfig
def cmd_spamins
def onEvent

Private Attributes

 _adminPlugin
 _maxSpamins
 _modLevel
 _falloffRate

Static Private Attributes

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

Member Function Documentation

def b3::plugins::spamcontrol::SpamcontrolPlugin::cmd_spamins (   self,
  data,
  client,
  cmd = None 
)
\
<name> - display a spamins level
def b3::plugins::spamcontrol::SpamcontrolPlugin::cmd_spamins (   self,
  data,
  client,
  cmd = None 
)
\
<name> - display a spamins level
def b3::plugins::spamcontrol::SpamcontrolPlugin::onEvent (   self,
  event 
)
\
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::onEvent (   self,
  event 
)
\
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::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.

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 files:
 All Classes Namespaces Files Functions Variables Properties