C# Class wmib.IRC

IRC
Mostrar archivo Open project: benapetr/wikimedia-bot Class Usage Examples

Public Methods

Method Description
Connect ( ) : void

Connect to network

DeliverAction ( string text, Channel target, libirc priority = libirc.Defs.Priority.Normal ) : void

Send a /me action to a given target

DeliverAction ( string text, string target, libirc priority = libirc.Defs.Priority.Normal ) : void
DeliverMessage ( string text, Channel target, libirc priority = libirc.Defs.Priority.Normal ) : void

Send a message to a given target

DeliverMessage ( string text, libirc target, libirc priority = libirc.Defs.Priority.Normal ) : void

Send a message to a given target

DeliverMessage ( string text, string target, libirc priority = libirc.Defs.Priority.Normal ) : void

Private Methods

Method Description
ChannelList ( ) : void

This function will retrieve a list of users in a channel for every channel that doesn't have it so far

GetSelfHost ( Channel channel ) : string
InitialiseList ( ) : void
Self ( string message, Channel channel ) : void

Write a self message to modules

SelfAct ( string message, Channel channel ) : void
dm ( string text, string target, libirc priority = libirc.Defs.Priority.Normal, bool is_act = false ) : void

Method Details

Connect() public static method

Connect to network
public static Connect ( ) : void
return void

DeliverAction() public static method

Send a /me action to a given target
public static DeliverAction ( string text, Channel target, libirc priority = libirc.Defs.Priority.Normal ) : void
text string
target Channel
priority libirc
return void

DeliverAction() public static method

public static DeliverAction ( string text, string target, libirc priority = libirc.Defs.Priority.Normal ) : void
text string
target string
priority libirc
return void

DeliverMessage() public static method

Send a message to a given target
public static DeliverMessage ( string text, Channel target, libirc priority = libirc.Defs.Priority.Normal ) : void
text string Text of a message
target Channel Channel
priority libirc Priority
return void

DeliverMessage() public static method

Send a message to a given target
public static DeliverMessage ( string text, libirc target, libirc priority = libirc.Defs.Priority.Normal ) : void
text string Message
target libirc User
priority libirc Priority
return void

DeliverMessage() public static method

public static DeliverMessage ( string text, string target, libirc priority = libirc.Defs.Priority.Normal ) : void
text string
target string
priority libirc
return void