Files
nadekobot/src/NadekoBot/Services/strings/IBotStrings.cs
2021-12-29 06:07:16 +01:00

16 lines
532 B
C#

#nullable disable
using System.Globalization;
namespace NadekoBot.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);
}