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

b3::plugins::welcome::WelcomePlugin Class Reference

Inheritance diagram for b3::plugins::welcome::WelcomePlugin:
b3::plugin::Plugin

List of all members.

Public Member Functions

def onStartup
def onLoadConfig
def cmd_greeting
def onEvent
def welcome

Private Attributes

 _adminPlugin
 _welcomeFlags
 _newbConnections
 _welcomeDelay
 _min_gap

Static Private Attributes

int _newbConnections = 0
int _welcomeFlags = 0
int _welcomeDelay = 0
 _cmd_greeting_minlevel = None
int _min_gap = 3600

Member Function Documentation

def b3::plugins::welcome::WelcomePlugin::cmd_greeting (   self,
  data,
  client,
  cmd = None 
)
\
[<greeting>] - set or list your greeting (use 'none' to remove)
def b3::plugins::welcome::WelcomePlugin::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::welcome::WelcomePlugin::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::welcome::WelcomePlugin::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::welcome::WelcomePlugin::welcome (   self,
  client 
)

Member Data Documentation

int b3::plugins::welcome::WelcomePlugin::_min_gap = 3600 [static, private]

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