From b309f155bec37802d23ebaf6fb3f94ef48a78f2a Mon Sep 17 00:00:00 2001 From: runebaas Date: Sun, 12 May 2019 00:56:22 +0200 Subject: [PATCH] Make GetDict private in the TranslationHandler --- Geekbot.net/Lib/Localization/ITranslationHandler.cs | 1 - Geekbot.net/Lib/Localization/TranslationHandler.cs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Geekbot.net/Lib/Localization/ITranslationHandler.cs b/Geekbot.net/Lib/Localization/ITranslationHandler.cs index 7a46e56..bb70046 100644 --- a/Geekbot.net/Lib/Localization/ITranslationHandler.cs +++ b/Geekbot.net/Lib/Localization/ITranslationHandler.cs @@ -8,7 +8,6 @@ namespace Geekbot.net.Lib.Localization { Task GetString(ulong guildId, string command, string stringName); List GetStrings(string language, string command, string stringName); - Task> GetDict(ICommandContext context); Task> GetDict(ICommandContext context, string command); Task GetGuildContext(ICommandContext context); Task SetLanguage(ulong guildId, string language); diff --git a/Geekbot.net/Lib/Localization/TranslationHandler.cs b/Geekbot.net/Lib/Localization/TranslationHandler.cs index b61c93c..f298e2d 100644 --- a/Geekbot.net/Lib/Localization/TranslationHandler.cs +++ b/Geekbot.net/Lib/Localization/TranslationHandler.cs @@ -127,7 +127,7 @@ namespace Geekbot.net.Lib.Localization return translation; } - public async Task> GetDict(ICommandContext context) + private async Task> GetDict(ICommandContext context) { try {