Make GetDict private in the TranslationHandler

This commit is contained in:
runebaas 2019-05-12 00:56:22 +02:00
parent 67add36e51
commit b309f155be
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
2 changed files with 1 additions and 2 deletions

View file

@ -8,7 +8,6 @@ namespace Geekbot.net.Lib.Localization
{ {
Task<string> GetString(ulong guildId, string command, string stringName); Task<string> GetString(ulong guildId, string command, string stringName);
List<string> GetStrings(string language, string command, string stringName); List<string> GetStrings(string language, string command, string stringName);
Task<Dictionary<string, string>> GetDict(ICommandContext context);
Task<Dictionary<string, string>> GetDict(ICommandContext context, string command); Task<Dictionary<string, string>> GetDict(ICommandContext context, string command);
Task<TranslationGuildContext> GetGuildContext(ICommandContext context); Task<TranslationGuildContext> GetGuildContext(ICommandContext context);
Task<bool> SetLanguage(ulong guildId, string language); Task<bool> SetLanguage(ulong guildId, string language);

View file

@ -127,7 +127,7 @@ namespace Geekbot.net.Lib.Localization
return translation; return translation;
} }
public async Task<Dictionary<string, string>> GetDict(ICommandContext context) private async Task<Dictionary<string, string>> GetDict(ICommandContext context)
{ {
try try
{ {