mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
17 lines
566 B
C#
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);
|
|
}
|
|
}
|