C# Class SpawnBot.Bot

Inheritance: SBPluginHost
Datei anzeigen Open project: xwcg/SpawnBot Class Usage Examples

Public Methods

Method Description
FindPlugin ( string nameOrPath ) : SBPlugin
GetSHA1Hash ( string text ) : string
PluginKick ( string channel, string name, string reason ) : void
PluginResponse ( string channel, string message ) : void
SendCommand ( string command ) : void
SendMessage ( string message, string channel ) : void

Private Methods

Method Description
Bot ( ) : System
ChannelMessageResponse ( string channel, string name, string message ) : void
IrcService_eventActionReceived ( string channel, string name, string action ) : void
IrcService_eventCommandReceived ( string cmd ) : void
IrcService_eventConnected ( ) : void
IrcService_eventConnectingError ( string error ) : void
IrcService_eventDisconnected ( string msg, bool connectionError ) : void
IrcService_eventMessageReceived ( string channel, string name, string message ) : void
IrcService_eventNameListReceived ( string channel, string list ) : void
IrcService_eventNoticeReceived ( string name, string message ) : void
IrcService_eventRawBotModeReceived ( string mode ) : void
IrcService_eventServerPingReceived ( string hash ) : void
IrcService_eventServerPongReceived ( ) : void
IrcService_eventTopicOwnerReceived ( string channel, string name, string date ) : void
IrcService_eventTopicReceived ( string channel, string topic ) : void
IrcService_eventUnhandled ( string cmd ) : void
IrcService_eventUserChangedNick ( string name, string newName ) : void
IrcService_eventUserJoined ( string channel, string name ) : void
IrcService_eventUserJoinedHostname ( string channel, string name, string hostname ) : void
IrcService_eventUserKicked ( string channel, string name, string by, string message ) : void
IrcService_eventUserModeChanged ( string channel, string name, string mode, string by ) : void
IrcService_eventUserPart ( string channel, string name, string message ) : void
IrcService_eventUserQuit ( string name, string message ) : void
Main ( string args ) : void
PrivateMessageResponse ( string name, string message ) : void
ReadConfig ( ) : void

Method Details

FindPlugin() public method

public FindPlugin ( string nameOrPath ) : SBPlugin
nameOrPath string
return SBPlugin

GetSHA1Hash() public static method

public static GetSHA1Hash ( string text ) : string
text string
return string

PluginKick() public method

public PluginKick ( string channel, string name, string reason ) : void
channel string
name string
reason string
return void

PluginResponse() public method

public PluginResponse ( string channel, string message ) : void
channel string
message string
return void

SendCommand() public static method

public static SendCommand ( string command ) : void
command string
return void

SendMessage() public static method

public static SendMessage ( string message, string channel ) : void
message string
channel string
return void