Working LLM chatbot

This commit is contained in:
Myx
2024-06-01 13:16:19 +02:00
parent a703f7f9a2
commit ddf5bfdd3d
11 changed files with 122 additions and 79 deletions

View File

@@ -21,23 +21,6 @@ public static class Command
public const string Description = "Say goodbye to the bot!";
}
public static class Chat
{
public const string Name = "chat";
public const string Description = "Chat with the bot!";
public static readonly List<SlashCommandOptionBuilder>? Options = new()
{
new SlashCommandOptionBuilder
{
Name = "message",
Description = "Chat with Lunaris",
Type = ApplicationCommandOptionType.String,
IsRequired = true
}
};
}
public static class Join
{
public const string Name = "join";

View File

@@ -12,8 +12,7 @@ public static class SlashCommandRegistration
RegisterCommand(client, Command.Join.Name, Command.Join.Description);
RegisterCommand(client, Command.Skip.Name, Command.Skip.Description);
RegisterCommand(client, Command.Play.Name, Command.Play.Description, Command.Play.Options);
RegisterCommand(client, Command.Stop.Name, Command.Stop.Description);
RegisterCommand(client, Command.Chat.Name, Command.Chat.Description, Command.Chat.Options);
RegisterCommand(client, Command.Stop.Name, Command.Stop.Description);
}
private static void RegisterCommand(