ircbot.modules

Class People

Implemented Interfaces:
Comparable, IRCBotModule

public class People
extends AbstractIRCBotModule

Nested Class Summary

class
People.NoticeType

Constructor Summary

People()

Method Summary

String
action(IRCMessage message)
void
addOperator(String nick)
String
getAuthor()
String
getDescription(String topic, Language lang)
String
getModuleName()
Person
getPerson(String nick)
Person
getPerson(String nick, boolean create)
boolean
ignores(String nick)
boolean
isOperator(String nick)
boolean
isRemoved(String nick)
Person
notice(String nick, IRCChannel channel, People.NoticeType type)
String
parseMessage(IRCMessage message)
void
saveState(SaveState state)

Methods inherited from class ircbot.AbstractIRCBotModule

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

Constructor Details

People

public People()

Method Details

action

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

addOperator

public void addOperator(String nick)

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

getPerson

public Person getPerson(String nick)

getPerson

public Person getPerson(String nick,
                        boolean create)

ignores

public boolean ignores(String nick)

isOperator

public boolean isOperator(String nick)

isRemoved

public boolean isRemoved(String nick)

notice

public Person notice(String nick,
                     IRCChannel channel,
                     People.NoticeType type)

parseMessage

public String parseMessage(IRCMessage message)
Specified by:
parseMessage in interface IRCBotModule
Overrides:
parseMessage in interface AbstractIRCBotModule

saveState

public void saveState(SaveState state)
Specified by:
saveState in interface IRCBotModule
Overrides:
saveState in interface AbstractIRCBotModule