mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Trim \r that was being passed through from Twitch chat
This commit is contained in:
@@ -391,7 +391,7 @@ public class ChatBot
|
|||||||
}
|
}
|
||||||
// Not caching this value as it won't harm it to have to look this up in even the worst spergout sesh
|
// Not caching this value as it won't harm it to have to look this up in even the worst spergout sesh
|
||||||
var twitchIcon = Helpers.GetValue(BuiltIn.Keys.TwitchIcon).Result.Value;
|
var twitchIcon = Helpers.GetValue(BuiltIn.Keys.TwitchIcon).Result.Value;
|
||||||
SendChatMessage($"[img]{twitchIcon}[/img] {nick}: {message}", true);
|
SendChatMessage($"[img]{twitchIcon}[/img] {nick}: {message.TrimEnd('\r')}", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void DiscordOnPresenceUpdated(object sender, DiscordPresenceUpdateModel presence)
|
private void DiscordOnPresenceUpdated(object sender, DiscordPresenceUpdateModel presence)
|
||||||
|
|||||||
Reference in New Issue
Block a user