Remove all in-command usages of GetDict for translations

This commit is contained in:
runebaas 2019-05-12 00:44:25 +02:00
parent 0f0c0684c6
commit 67add36e51
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
3 changed files with 9 additions and 9 deletions

View file

@ -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;
}