mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Missing + 1 for participant count
This commit is contained in:
@@ -60,7 +60,7 @@ public class RainCommand : ICommand
|
|||||||
var pluralSuffix = string.Empty;
|
var pluralSuffix = string.Empty;
|
||||||
if (rain.Participants.Count > 0) pluralSuffix = "s";
|
if (rain.Participants.Count > 0) pluralSuffix = "s";
|
||||||
await botInstance.SendChatMessageAsync(
|
await botInstance.SendChatMessageAsync(
|
||||||
$"LFG {user.FormatUsername()} is now a participant! There's now {rain.Participants.Count} participant{pluralSuffix}",
|
$"LFG {user.FormatUsername()} is now a participant! There's now {rain.Participants.Count + 1} participant{pluralSuffix}",
|
||||||
true, autoDeleteAfter: cleanupDelay);
|
true, autoDeleteAfter: cleanupDelay);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user