Added support for custom part separators when using the fancy split message extension method

This commit is contained in:
barelyprofessional
2025-02-09 23:34:48 +08:00
parent 4085e0fd43
commit 5eb2ef62b9
2 changed files with 8 additions and 7 deletions

View File

@@ -123,7 +123,7 @@ public class GmKasinoListCommand : ICommand
result += $"[br]{i}: {image}";
}
await botInstance.SendChatMessagesAsync(result.FancySplitMessage(), true);
await botInstance.SendChatMessagesAsync(result.FancySplitMessage(partSeparator: "[br]"), true);
}
}
@@ -213,7 +213,7 @@ public class GnKasinoListCommand : ICommand
result += $"[br]{i}: {image}";
}
await botInstance.SendChatMessagesAsync(result.FancySplitMessage(), true);
await botInstance.SendChatMessagesAsync(result.FancySplitMessage(partSeparator: "[br]"), true);
}
}