Table of Contents

Class SlashCommandProperties

Namespace
HeyBox
Assembly
HeyBox.Net.Core.dll

Represents the base class to create/modify application commands.

public class SlashCommandProperties
Inheritance
SlashCommandProperties
Inherited Members

Properties

ContextTypes

Gets or sets context types this command can be executed in.

public HashSet<InteractionContextType>? ContextTypes { get; set; }

Property Value

HashSet<InteractionContextType>

Description

Gets or sets the description of this command.

public string? Description { get; set; }

Property Value

string

Name

Gets or sets the name of this command.

public string? Name { get; set; }

Property Value

string

Options

Gets or sets the options for this command.

public List<SlashCommandOptionProperties>? Options { get; set; }

Property Value

List<SlashCommandOptionProperties>