Fixed formatting error with the Discord stage flash text feature

This commit is contained in:
barelyprofessional
2025-07-20 01:30:01 -05:00
parent 56616d713f
commit be96be9f85

View File

@@ -828,11 +828,11 @@ public class BotServices
{
if (seconds % 2 == 0)
{
await _chatBot.KfClient.EditMessageAsync(msg.ChatMessageId.Value, $"[color={settings[BuiltIn.Keys.KiwiFarmsGreenColor].Value}[/color]{msg.Message}[/color]");
await _chatBot.KfClient.EditMessageAsync(msg.ChatMessageId.Value, $"[color={settings[BuiltIn.Keys.KiwiFarmsGreenColor].Value}]{msg.Message}[/color]");
}
else
{
await _chatBot.KfClient.EditMessageAsync(msg.ChatMessageId.Value, $"[color={settings[BuiltIn.Keys.KiwiFarmsRedColor].Value}[/color]{msg.Message}[/color]");
await _chatBot.KfClient.EditMessageAsync(msg.ChatMessageId.Value, $"[color={settings[BuiltIn.Keys.KiwiFarmsRedColor].Value}]{msg.Message}[/color]");
}
await Task.Delay(1000, _cancellationToken);