2023-08-30 22:40:45 +00:00
|
|
|
using BotSharp.Abstraction.Agents;
|
|
|
|
|
using BotSharp.Plugin.PizzaBot.Hooks;
|
|
|
|
|
|
|
|
|
|
namespace BotSharp.Plugin.PizzaBot;
|
|
|
|
|
|
|
|
|
|
public class PizzaBotPlugin : IBotSharpPlugin
|
|
|
|
|
{
|
2023-11-13 16:47:27 +00:00
|
|
|
public string Name => "Pizza AI Assistant";
|
2023-08-30 22:40:45 +00:00
|
|
|
public void RegisterDI(IServiceCollection services, IConfiguration config)
|
|
|
|
|
{
|
|
|
|
|
// Register hooks
|
|
|
|
|
services.AddScoped<IAgentHook, PizzaBotAgentHook>();
|
|
|
|
|
}
|
|
|
|
|
}
|