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

15 lines
498 B
C#
Raw Normal View History

2024-03-23 05:42:46 +00:00
using System.Globalization;
namespace Ellie.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);
}