mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
Changed (almost) all responses to make them use the new system instead of raw strings
- Fixed many invalid string keys
This commit is contained in:
@@ -135,7 +135,7 @@ namespace NadekoBot.Modules.Gambling
|
||||
private Task Ar_OnStartingFailed(AnimalRace race)
|
||||
{
|
||||
_service.AnimalRaces.TryRemove(ctx.Guild.Id, out _);
|
||||
return ReplyErrorLocalizedAsync("animal_race_failed");
|
||||
return ReplyErrorLocalizedAsync(strs.animal_race_failed);
|
||||
}
|
||||
|
||||
[NadekoCommand, Aliases]
|
||||
@@ -147,7 +147,7 @@ namespace NadekoBot.Modules.Gambling
|
||||
|
||||
if (!_service.AnimalRaces.TryGetValue(ctx.Guild.Id, out var ar))
|
||||
{
|
||||
await ReplyErrorLocalizedAsync("race_not_exist").ConfigureAwait(false);
|
||||
await ReplyErrorLocalizedAsync(strs.race_not_exist).ConfigureAwait(false);
|
||||
return;
|
||||
}
|
||||
try
|
||||
|
Reference in New Issue
Block a user