mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-13 10:48:26 -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:
@@ -35,7 +35,7 @@ namespace NadekoBot.Modules.Games
|
||||
ctx.Channel.Id, arg);
|
||||
if(poll is null)
|
||||
{
|
||||
await ReplyErrorLocalizedAsync("poll_invalid_input").ConfigureAwait(false);
|
||||
await ReplyErrorLocalizedAsync(strs.poll_invalid_input).ConfigureAwait(false);
|
||||
return;
|
||||
}
|
||||
if (_service.StartPoll(poll))
|
||||
@@ -52,7 +52,7 @@ namespace NadekoBot.Modules.Games
|
||||
}
|
||||
else
|
||||
{
|
||||
await ReplyErrorLocalizedAsync("poll_already_running").ConfigureAwait(false);
|
||||
await ReplyErrorLocalizedAsync(strs.poll_already_running).ConfigureAwait(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user