20 lines
No EOL
493 B
C#
20 lines
No EOL
493 B
C#
using OneOf;
|
|
|
|
namespace EllieBot.Modules.Utility;
|
|
|
|
public interface IAiAssistantService
|
|
{
|
|
Task<OneOf<EllieCommandCallModel, GetCommandErrorResult>> TryGetCommandAsync(
|
|
ulong userId,
|
|
string prompt,
|
|
IReadOnlyCollection<AiCommandModel> commands,
|
|
string prefix);
|
|
|
|
IReadOnlyCollection<AiCommandModel> GetCommands();
|
|
|
|
Task<bool> TryExecuteAiCommand(
|
|
IGuild guild,
|
|
IUserMessage msg,
|
|
ITextChannel channel,
|
|
string query);
|
|
} |