Hardly.Library.Twitch.TwitchIrcConnection.SendChat C# (CSharp) Method

SendChat() private method

private SendChat ( TwitchConnection twitchConnection, string message ) : void
twitchConnection TwitchConnection
message string
return void
        internal void SendChat(TwitchConnection twitchConnection, string message)
        {
            SendIrcMessage(":" + bot.user.userName
                 + "!" + bot.user.userName + "@"
                 + bot.user.userName
                 + ".tmi.twitch.tv PRIVMSG #" + twitchConnection.channel.user.userName + " :" + message);
        }

Usage Example

コード例 #1
0
 public void SendChatMessage(string message)
 {
     chatIrcConnection.SendChat(twitchConnection, message);
 }