Property | Type | Description | |
---|---|---|---|
botNick | string | ||
irc | |||
mainConfig | |||
msgs | |||
sourceAccount | string | ||
sourceChannel | string | ||
sourceServerName | string | ||
sourceirc | |||
targetBlacklistDuration | string | ||
targetWikiproject | string |
Method | Description | |
---|---|---|
Application_UnhandledException ( object sender, |
Catches all unhandled exceptions in the main thread
|
|
BotConfigMsg ( string destChannel ) : void | ||
Exit ( ) : void | ||
PartIRC ( string quitMessage ) : void | ||
ReactToSourceEvent ( |
Reacts to the Source Event, passed from SourceReader. Remember: this runs in the SourceReader thread!
|
|
Restart ( ) : void | ||
SendMessageF ( SendType type, string destination, string message, bool IsDroppable, bool IsPriority ) : void |
Route all irc.SendMessage() calls through this to use the queue
|
|
SendMessageFMulti ( SendType type, string destination, string message, bool IsDroppable, bool IsPriority ) : void |
Splitting messages by line breaks and in chucks if they're too long and forward to SendMessageF
|
|
getFormatMessage ( int msgCode ) : string |
Get a message from the msgs store, and format it using the parameters specified. Messages should be those with a "1" prefix, incompatible with CVUBot.
|
Method | Description | |
---|---|---|
Main ( string args ) : void | ||
calculateByteLength ( |
Calculates the rough length, in bytes, of a queued message
|
|
getMessage ( int msgCode, |
Gets a message from the msgs store
|
|
hasPrivileges ( char minimum, |
||
irc_OnChannelMessage ( object sender, |
||
irc_OnChannelNotice ( object sender, |
This event handler detects incoming notices
|
|
irc_OnConnected ( object sender, |
||
irc_OnConnectionError ( object sender, |
||
irc_OnError ( object sender, Meebey e ) : void | ||
irc_OnPong ( object sender, |
||
msgthread ( ) : void |
Thread function that runs continuously in the background, sending messages
|
|
readMessages ( string filename ) : void |
Reads messages from filename (Console.msgs) into SortedList msgs
|
public static Application_UnhandledException ( object sender, |
||
sender | object | |
e | ||
return | void |
public static BotConfigMsg ( string destChannel ) : void | ||
destChannel | string | |
return | void |
public static PartIRC ( string quitMessage ) : void | ||
quitMessage | string | |
return | void |
public static ReactToSourceEvent ( |
||
r | ||
return | void |
public static SendMessageF ( SendType type, string destination, string message, bool IsDroppable, bool IsPriority ) : void | ||
type | SendType | |
destination | string | |
message | string | |
IsDroppable | bool | |
IsPriority | bool | |
return | void |
public static SendMessageFMulti ( SendType type, string destination, string message, bool IsDroppable, bool IsPriority ) : void | ||
type | SendType | |
destination | string | |
message | string | |
IsDroppable | bool | |
IsPriority | bool | |
return | void |
public static getFormatMessage ( int msgCode ) : string | ||
msgCode | int | The five-digit message code |
return | string |
public static IrcClient,Meebey.SmartIrc4net irc | ||
return |
public static SortedList,System.Collections mainConfig | ||
return |
public static SortedList,System.Collections msgs | ||
return |
public static string targetBlacklistDuration | ||
return | string |