namespace Kyoo.Controllers { /// /// A common interface used to discord plugins /// public interface IPlugin { /// /// A slug to identify this plugin in queries. /// string Slug { get; } /// /// The name of the plugin /// string Name { get; } /// /// The description of this plugin. This will be displayed on the "installed plugins" page. /// string Description { get; } /// /// A configure method that will be runned on plugin's startup. /// /// /// You can have use any services as parameter, they will be injected from the service provider /// You can add managed types or any type you like using the IUnityContainer like so: /// /// public static void Configure(IUnityContainer services) /// { /// services.AddTask<MyTask>() /// } /// /// static void Configure() { } } }