elliebot/src/Ellie.Marmalade/Strings/IMarmaladeStrings.cs

15 lines
501 B
C#
Raw Permalink Normal View History

2024-03-23 05:42:46 +00:00
using System.Globalization;
2024-05-12 11:43:23 +00:00
namespace EllieBot.Marmalade;
2024-03-23 05:42:46 +00:00
/// <summary>
/// Defines methods to retrieve and reload marmalade strings
/// </summary>
public interface IMarmaladeStrings
{
// string GetText(string key, ulong? guildId = null, params object[] data);
string? GetText(string key, CultureInfo locale, params object[] data);
void Reload();
CommandStrings GetCommandStrings(string commandName, CultureInfo cultureInfo);
string? GetDescription(CultureInfo? locale);
}