Thresher 1.2 Class Documentation | |
CtcpSender.CtcpReply Method
Send a reply in response to a CTCP request. Replies that exceed
the IRC max length will be truncated.
[Visual Basic]Public Sub CtcpReply( _
ByVal
command As
String, _
ByVal
nick As
String, _
ByVal
reply As
String _
)
Parameters
- command
- The CTCP command. Should be a string constant
from CtcpUtil.
- nick
- The target's nick name.
- reply
- The text of the response.
Exceptions
Exception Type | Condition |
---|
ArgumentException | If the nick is invalid, the command
is empty, or the reply is empty. |
See Also
CtcpSender Class | Sharkbite.Irc Namespace