C# Class Bot.Quote

Inheritance: IBottable
Show file Open project: silpheed/IRC-Bot

Public Methods

Method Description
OnConsoleLine ( string args ) : void
OnReadLine ( IrcMessageData data ) : bool
Quote ( IrcClient irc ) : System
SplitQuote ( string raw ) : IList

Private Methods

Method Description
AddIdToLast20 ( int id ) : void
AddQuote ( IrcMessageData data ) : void
CanDelete ( int id, string host ) : bool
DeleteQuote ( IrcMessageData data ) : void
DisplayHelp ( IrcMessageData data ) : void
DisplayPopularity ( IrcMessageData data ) : void
DisplayQuote ( IrcMessageData data ) : void
DisplayQuote ( string target, QuoteData quote, string header ) : void
GetRandomQuote ( ) : QuoteData
GetRandomQuote ( IEnumerable outOfThese ) : QuoteData
SearchQuote ( IrcMessageData data, bool random ) : void

Method Details

OnConsoleLine() public method

public OnConsoleLine ( string args ) : void
args string
return void

OnReadLine() public method

public OnReadLine ( IrcMessageData data ) : bool
data Meebey.SmartIrc4net.IrcMessageData
return bool

Quote() public method

public Quote ( IrcClient irc ) : System
irc Meebey.SmartIrc4net.IrcClient
return System

SplitQuote() public static method

public static SplitQuote ( string raw ) : IList
raw string
return IList