Table of Contents

Interface IApplicationCommandService

Namespace
NetCord.Services.ApplicationCommands
Assembly
NetCord.Services.dll
public interface IApplicationCommandService : IService
Inherited Members

Methods

AddEntryPointCommand(EntryPointCommandBuilder)

void AddEntryPointCommand(EntryPointCommandBuilder builder)

Parameters

builder EntryPointCommandBuilder

AddMessageCommand(MessageCommandBuilder)

void AddMessageCommand(MessageCommandBuilder builder)

Parameters

builder MessageCommandBuilder

AddModule(Type)

void AddModule(Type type)

Parameters

type Type

AddModule<T>()

void AddModule<T>()

Type Parameters

T

AddSlashCommand(SlashCommandBuilder)

void AddSlashCommand(SlashCommandBuilder builder)

Parameters

builder SlashCommandBuilder

AddSlashCommandGroup(SlashCommandGroupBuilder)

void AddSlashCommandGroup(SlashCommandGroupBuilder builder)

Parameters

builder SlashCommandGroupBuilder

AddUserCommand(UserCommandBuilder)

void AddUserCommand(UserCommandBuilder builder)

Parameters

builder UserCommandBuilder

GetCommands()

IReadOnlyList<IApplicationCommandInfo> GetCommands()

Returns

IReadOnlyList<IApplicationCommandInfo>