mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 12:32:03 -04:00
Fixed formatting error with the Discord stage flash text feature
This commit is contained in:
@@ -828,11 +828,11 @@ public class BotServices
|
|||||||
{
|
{
|
||||||
if (seconds % 2 == 0)
|
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
|
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);
|
await Task.Delay(1000, _cancellationToken);
|
||||||
|
|||||||
Reference in New Issue
Block a user