geekbot/Geekbot.net/Lib/Localization/ITranslationHandler.cs

14 lines
No EOL
507 B
C#

using System.Collections.Generic;
using Discord.Commands;
namespace Geekbot.net.Lib.Localization
{
public interface ITranslationHandler
{
string GetString(ulong guildId, string command, string stringName);
Dictionary<string, string> GetDict(ICommandContext context);
Dictionary<string, string> GetDict(ICommandContext context, string command);
bool SetLanguage(ulong guildId, string language);
List<string> SupportedLanguages { get; }
}
}