Interface IService
Base interface for services that provides module management functionality. Implemented by ApplicationCommandService<TContext>, ComponentInteractionService<TContext>, and CommandService<TContext>.
public interface IService
Methods
AddModules(Assembly)
Scans the specified assembly for public modules and registers them with the service.
void AddModules(Assembly assembly)
Parameters
assemblyAssemblyThe assembly to scan for modules.