C# Class IrcDotNet.TwitterBot

Inheritance: BasicIrcBot
ファイルを表示 Open project: IrcDotNet/IrcDotNet Class Usage Examples

Public Methods

Method Description
TwitterBot ( ) : System

Protected Methods

Method Description
InitializeChatCommandProcessors ( ) : void
InitializeCommandProcessors ( ) : void
OnChannelMessageReceived ( IrcChannel channel, IrcMessageEventArgs e ) : void
OnChannelNoticeReceived ( IrcChannel channel, IrcMessageEventArgs e ) : void
OnChannelUserJoined ( IrcChannel channel, IrcChannelUserEventArgs e ) : void
OnChannelUserLeft ( IrcChannel channel, IrcChannelUserEventArgs e ) : void
OnClientConnect ( IrcClient client ) : void
OnClientDisconnect ( IrcClient client ) : void
OnClientRegistered ( IrcClient client ) : void
OnLocalUserJoinedChannel ( IrcLocalUser localUser, IrcChannelEventArgs e ) : void
OnLocalUserLeftChannel ( IrcLocalUser localUser, IrcChannelEventArgs e ) : void
OnLocalUserMessageReceived ( IrcLocalUser localUser, IrcMessageEventArgs e ) : void
OnLocalUserNoticeReceived ( IrcLocalUser localUser, IrcMessageEventArgs e ) : void

Private Methods

Method Description
GetTwitterBotUser ( IrcUser ircUser ) : TwitterBotUser
ProcessChatCommandHome ( IrcClient client, IIrcMessageSource source, IList targets, string command, IList parameters ) : void
ProcessChatCommandListUsers ( IrcClient client, IIrcMessageSource source, IList targets, string command, IList parameters ) : void
ProcessChatCommandLogIn ( IrcClient client, IIrcMessageSource source, IList targets, string command, IList parameters ) : void
ProcessChatCommandLogOut ( IrcClient client, IIrcMessageSource source, IList targets, string command, IList parameters ) : void
ProcessChatCommandMentions ( IrcClient client, IIrcMessageSource source, IList targets, string command, IList parameters ) : void
ProcessChatCommandSend ( IrcClient client, IIrcMessageSource source, IList targets, string command, IList parameters ) : void
SanitizeTextForIrc ( string value ) : string
SendGreeting ( IrcLocalUser localUser, IIrcMessageTarget target ) : void
SendTweetInfo ( IrcClient client, IList targets, TwitterStatus tweet ) : void

Method Details

InitializeChatCommandProcessors() protected method

protected InitializeChatCommandProcessors ( ) : void
return void

InitializeCommandProcessors() protected method

protected InitializeCommandProcessors ( ) : void
return void

OnChannelMessageReceived() protected method

protected OnChannelMessageReceived ( IrcChannel channel, IrcMessageEventArgs e ) : void
channel IrcChannel
e IrcMessageEventArgs
return void

OnChannelNoticeReceived() protected method

protected OnChannelNoticeReceived ( IrcChannel channel, IrcMessageEventArgs e ) : void
channel IrcChannel
e IrcMessageEventArgs
return void

OnChannelUserJoined() protected method

protected OnChannelUserJoined ( IrcChannel channel, IrcChannelUserEventArgs e ) : void
channel IrcChannel
e IrcChannelUserEventArgs
return void

OnChannelUserLeft() protected method

protected OnChannelUserLeft ( IrcChannel channel, IrcChannelUserEventArgs e ) : void
channel IrcChannel
e IrcChannelUserEventArgs
return void

OnClientConnect() protected method

protected OnClientConnect ( IrcClient client ) : void
client IrcClient
return void

OnClientDisconnect() protected method

protected OnClientDisconnect ( IrcClient client ) : void
client IrcClient
return void

OnClientRegistered() protected method

protected OnClientRegistered ( IrcClient client ) : void
client IrcClient
return void

OnLocalUserJoinedChannel() protected method

protected OnLocalUserJoinedChannel ( IrcLocalUser localUser, IrcChannelEventArgs e ) : void
localUser IrcLocalUser
e IrcChannelEventArgs
return void

OnLocalUserLeftChannel() protected method

protected OnLocalUserLeftChannel ( IrcLocalUser localUser, IrcChannelEventArgs e ) : void
localUser IrcLocalUser
e IrcChannelEventArgs
return void

OnLocalUserMessageReceived() protected method

protected OnLocalUserMessageReceived ( IrcLocalUser localUser, IrcMessageEventArgs e ) : void
localUser IrcLocalUser
e IrcMessageEventArgs
return void

OnLocalUserNoticeReceived() protected method

protected OnLocalUserNoticeReceived ( IrcLocalUser localUser, IrcMessageEventArgs e ) : void
localUser IrcLocalUser
e IrcMessageEventArgs
return void

TwitterBot() public method

public TwitterBot ( ) : System
return System