Files
nadekobot/NadekoBot.Core/Services/strings/IBotStrings.cs
2021-09-06 21:29:22 +02:00

17 lines
566 B
C#

using System.Globalization;
namespace NadekoBot.Core.Services
{
/// <summary>
/// Defines methods to retrieve and reload bot strings
/// </summary>
public interface IBotStrings
{
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, ulong? guildId = null);
CommandStrings GetCommandStrings(string commandName, CultureInfo cultureInfo);
}
}