C# Class SimoBot.HoroscopeFeature

Inheritance: IFeature
显示文件 Open project: code-n-beer/SimoBot

Public Methods

Method Description
Execute ( IrcClient Client, string channel, IrcUser Sender, string message ) : void
Initialize ( string>.Dictionary configs ) : void
RegisterFeature ( EngineMessageHandlers features ) : void

Private Methods

Method Description
NotImplemented ( IrcClient Client, string channel, IrcUser Sender, string message ) : void
dropHtmlPrecedingHoroscope ( string html, string sign ) : string
dropHtmlTailingHoroscope ( string html ) : string
getDayOfWeek ( ) : int
getHTML ( string sign ) : string
horoscopeHelpMsg ( ) : string
html2Txt ( string horoscope ) : string

Method Details

Execute() public method

public Execute ( IrcClient Client, string channel, IrcUser Sender, string message ) : void
Client IrcDotNet.IrcClient
channel string
Sender IrcDotNet.IrcUser
message string
return void

Initialize() public method

public Initialize ( string>.Dictionary configs ) : void
configs string>.Dictionary
return void

RegisterFeature() public method

public RegisterFeature ( EngineMessageHandlers features ) : void
features EngineMessageHandlers
return void