ircbot.modules

Class News

Implemented Interfaces:
Comparable, IRCBotModule

public class News
extends AbstractIRCBotModule

Constructor Summary

News()

Method Summary

String
action(IRCMessage message)
String
activateEvent(IRCChannel channel)
String
getAuthor()
String
getDescription(String topic, Language lang)
String
getModuleName()

Methods inherited from class ircbot.AbstractIRCBotModule

activateEvent, addCommand, compareTo, getCommands, getModuleHandler, getProbability, loadState, parseMessage, randomThought, saveState, scheduleEvent, scheduleEvent, setModuleHandler, toString

Constructor Details

News

public News()

Method Details

action

public String action(IRCMessage message)
Specified by:
action in interface IRCBotModule

activateEvent

public String activateEvent(IRCChannel channel)
Specified by:
activateEvent in interface IRCBotModule
Overrides:
activateEvent in interface AbstractIRCBotModule

getAuthor

public String getAuthor()
Specified by:
getAuthor in interface IRCBotModule

getDescription

public String getDescription(String topic,
                             Language lang)
Specified by:
getDescription in interface IRCBotModule

getModuleName

public String getModuleName()
Specified by:
getModuleName in interface IRCBotModule