C# Class Utility.Tell

A Function which allows users to send messages to each other, even when the intended recipient is offline.
Inheritance: Function
Mostrar archivo Open project: MatthewCox/MoronBot Class Usage Examples

Public Properties

Property Type Description
MessageMap List>.Dictionary
tellMapLock Object

Public Methods

Method Description
GetResponse ( BotMessage message ) : List
Tell ( ) : System
WildcardToRegex ( string pattern ) : string
WriteMessages ( ) : void

Private Methods

Method Description
RateLimit ( string userName ) : bool
ReadMessages ( ) : void

Method Details

GetResponse() public method

public GetResponse ( BotMessage message ) : List
message MBFunctionInterface.BotMessage
return List

Tell() public method

public Tell ( ) : System
return System

WildcardToRegex() public static method

public static WildcardToRegex ( string pattern ) : string
pattern string
return string

WriteMessages() public static method

public static WriteMessages ( ) : void
return void

Property Details

MessageMap public_oe static_oe property

public static Dictionary> MessageMap
return List>.Dictionary

tellMapLock public_oe static_oe property

public static Object tellMapLock
return Object