16 lines
No EOL
653 B
C#
16 lines
No EOL
653 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Discord.Commands;
|
|
|
|
namespace Geekbot.net.Lib.Localization
|
|
{
|
|
public interface ITranslationHandler
|
|
{
|
|
Task<string> GetString(ulong guildId, string command, string stringName);
|
|
List<string> GetStrings(string language, string command, string stringName);
|
|
Task<Dictionary<string, string>> GetDict(ICommandContext context, string command);
|
|
Task<TranslationGuildContext> GetGuildContext(ICommandContext context);
|
|
Task<bool> SetLanguage(ulong guildId, string language);
|
|
List<string> SupportedLanguages { get; }
|
|
}
|
|
} |