internal static Task SendQuit(this TwitchChatConnection writer) { return(writer.WriteMessage(new IrcMessage("QUIT"))); }
internal static Task SendPass(this TwitchChatConnection writer, string password) { return(writer.WriteMessage(new IrcMessage("PASS", password))); }
internal static Task SendPong(this TwitchChatConnection writer, string[] parameters) { return(writer.WriteMessage(new IrcMessage("PONG", parameters))); }
internal static Task Part(this TwitchChatConnection writer, string channelName) { return(writer.WriteMessage(new IrcMessage("PART", $"#{channelName}"))); }
public static Task Join(this TwitchChatConnection writer, string channelName) { return(writer.WriteMessage(new IrcMessage("JOIN", $"#{channelName}"))); }
public static Task SendPing(this TwitchChatConnection writer, string pingNonce) { return(writer.WriteMessage(new IrcMessage("PING", pingNonce))); }
internal static Task SendNick(this TwitchChatConnection writer, string nick) { return(writer.WriteMessage(new IrcMessage("NICK", nick))); }