mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 17:58:26 -04:00
Lots more stuff
This commit is contained in:
24
src/Nadeko.Bot.Common/Medusa/IMedusaLoaderService.cs
Normal file
24
src/Nadeko.Bot.Common/Medusa/IMedusaLoaderService.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System.Globalization;
|
||||
|
||||
namespace Nadeko.Medusa;
|
||||
|
||||
public interface IMedusaLoaderService
|
||||
{
|
||||
Task<MedusaLoadResult> LoadMedusaAsync(string medusaName);
|
||||
Task<MedusaUnloadResult> UnloadMedusaAsync(string medusaName);
|
||||
string GetCommandDescription(string medusaName, string commandName, CultureInfo culture);
|
||||
string[] GetCommandExampleArgs(string medusaName, string commandName, CultureInfo culture);
|
||||
Task ReloadStrings();
|
||||
IReadOnlyCollection<string> GetAllMedusae();
|
||||
IReadOnlyCollection<MedusaStats> GetLoadedMedusae(CultureInfo? cultureInfo = null);
|
||||
}
|
||||
|
||||
public sealed record MedusaStats(string Name,
|
||||
string? Description,
|
||||
IReadOnlyCollection<SnekStats> Sneks);
|
||||
|
||||
public sealed record SnekStats(string Name,
|
||||
string? Prefix,
|
||||
IReadOnlyCollection<SnekCommandStats> Commands);
|
||||
|
||||
public sealed record SnekCommandStats(string Name);
|
Reference in New Issue
Block a user