C# Class SimoBot.Features.NowPlayingFeature

Inheritance: IFeature
ファイルを表示 Open project: code-n-beer/SimoBot

Public Methods

Method Description
AddNewLastFMNick ( string nickIRC, string lastFMNick ) : void
Execute ( IrcDotNet Client, string Channel, IrcDotNet Sender, string Message ) : void
ExecuteSet ( IrcDotNet Client, string Channel, IrcDotNet Sender, string Message ) : void
Initialize ( string>.Dictionary configs ) : void
RegisterFeature ( EngineMessageHandlers features ) : void
UpdateLastFmNick ( string IRCnick, string lastFMNick ) : void
runNP ( string msg, string senderNick ) : string

Private Methods

Method Description
getLastFmNickDictionary ( string filename ) : string>.Dictionary
getNP ( string lastFmUser ) : string
getUrlHtmlContent ( string URL ) : string
runSetLastFm ( string msg, string nick ) : string

Method Details

AddNewLastFMNick() public method

public AddNewLastFMNick ( string nickIRC, string lastFMNick ) : void
nickIRC string
lastFMNick string
return void

Execute() public method

public Execute ( IrcDotNet Client, string Channel, IrcDotNet Sender, string Message ) : void
Client IrcDotNet
Channel string
Sender IrcDotNet
Message string
return void

ExecuteSet() public method

public ExecuteSet ( IrcDotNet Client, string Channel, IrcDotNet Sender, string Message ) : void
Client IrcDotNet
Channel string
Sender IrcDotNet
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

UpdateLastFmNick() public method

public UpdateLastFmNick ( string IRCnick, string lastFMNick ) : void
IRCnick string
lastFMNick string
return void

runNP() public method

public runNP ( string msg, string senderNick ) : string
msg string
senderNick string
return string