mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Add dittos to rain and emojis to make it more visible
This commit is contained in:
@@ -67,7 +67,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 + 1} participant{pluralSuffix}",
|
$"LFG {user.FormatUsername()} is now a participant! There's now {rain.Participants.Count + 1} participant{pluralSuffix}[br]Type [ditto]!rain[/ditto] to participate",
|
||||||
true, autoDeleteAfter: cleanupDelay);
|
true, autoDeleteAfter: cleanupDelay);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -112,7 +112,7 @@ public class RainCommand : ICommand
|
|||||||
};
|
};
|
||||||
var timer = 60;
|
var timer = 60;
|
||||||
var msg = await botInstance.SendChatMessageAsync(
|
var msg = await botInstance.SendChatMessageAsync(
|
||||||
$"{user.FormatUsername()} is making it rain with {await decAmount.FormatKasinoCurrencyAsync()}! Type !rain in the next {timer} seconds to join.",
|
$"🌧️🌧️ {user.FormatUsername()} is making it rain with {await decAmount.FormatKasinoCurrencyAsync()}! Type [ditto]!rain[/ditto] in the next {timer} seconds to join.",
|
||||||
true);
|
true);
|
||||||
var result = await botInstance.WaitForChatMessageAsync(msg, ct: ctx);
|
var result = await botInstance.WaitForChatMessageAsync(msg, ct: ctx);
|
||||||
if (!result)
|
if (!result)
|
||||||
|
|||||||
Reference in New Issue
Block a user