mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 17:58:26 -04:00
wip strings rework, experimenting, nothing works
This commit is contained in:
@@ -35,7 +35,7 @@ namespace NadekoBot.Modules.Gambling
|
||||
return;
|
||||
async Task OnEnded(IUser arg, long won)
|
||||
{
|
||||
await SendConfirmAsync(GetText("rafflecur_ended", CurrencyName, Format.Bold(arg.ToString()), won + CurrencySign)).ConfigureAwait(false);
|
||||
await SendConfirmAsync(GetText(strs.rafflecur_ended, CurrencyName, Format.Bold(arg.ToString()), won + CurrencySign)).ConfigureAwait(false);
|
||||
}
|
||||
var res = await _service.JoinOrCreateGame(ctx.Channel.Id,
|
||||
ctx.User, amount, mixed, OnEnded)
|
||||
@@ -43,9 +43,9 @@ namespace NadekoBot.Modules.Gambling
|
||||
|
||||
if (res.Item1 != null)
|
||||
{
|
||||
await SendConfirmAsync(GetText("rafflecur", res.Item1.GameType.ToString()),
|
||||
await SendConfirmAsync(GetText(strs.rafflecur, res.Item1.GameType.ToString()),
|
||||
string.Join("\n", res.Item1.Users.Select(x => $"{x.DiscordUser} ({x.Amount})")),
|
||||
footer: GetText("rafflecur_joined", ctx.User.ToString())).ConfigureAwait(false);
|
||||
footer: GetText(strs.rafflecur_joined, ctx.User.ToString())).ConfigureAwait(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user