Remove all in-command usages of GetDict for translations
This commit is contained in:
parent
0f0c0684c6
commit
67add36e51
3 changed files with 9 additions and 9 deletions
|
@ -134,8 +134,8 @@ namespace Geekbot.net.Commands.Admin
|
|||
_database.GuildSettings.Update(guild);
|
||||
await _database.SaveChangesAsync();
|
||||
|
||||
var trans = await _translation.GetDict(Context);
|
||||
await ReplyAsync(trans["NewLanguageSet"]);
|
||||
var transContext = await _translation.GetGuildContext(Context);
|
||||
await ReplyAsync(transContext.GetString("NewLanguageSet"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue