Table of Contents

Interface ICommandService

Namespace
NetCord.Services.Commands
Assembly
NetCord.Services.dll

Base interface for CommandService<TContext>.

public interface ICommandService : IService
Inherited Members

Methods

AddCommand(CommandBuilder)

Adds a command to the service.

void AddCommand(CommandBuilder builder)

Parameters

builder CommandBuilder

The command builder.

AddCommandGroup(CommandGroupBuilder)

Adds a command group to the service.

void AddCommandGroup(CommandGroupBuilder builder)

Parameters

builder CommandGroupBuilder

The command group builder.

AddModule(Type)

Adds a command module to the service.

void AddModule(Type type)

Parameters

type Type

The type of the command module to add.

AddModule<T>()

Adds a command module to the service.

void AddModule<T>()

Type Parameters

T

The type of the command module to add.