Change the user's nickname.
Possible Errors
| Exception Type | Condition |
|---|---|
| ArgumentException | If the nickname is not valid. |
//Make sure and verify that the nick is valid and of the right length
string nick = GetUserInput();
if( Rfc2812Util.IsValidNick( connection, nick) ) {
connection.Sender.Nick( nick );
}
Sender Class | Sharkbite.Irc Namespace | OnNick