Table of Contents

Interface IService

Namespace
NetCord.Services
Assembly
NetCord.Services.dll

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

assembly Assembly

The assembly to scan for modules.