Table of Contents

Interface ISlashCommandInteractionData

Namespace
HeyBox
Assembly
HeyBox.Net.Core.dll

表示一个斜线命令交互的数据。

public interface ISlashCommandInteractionData : IHeyBoxInteractionData

Properties

Id

获取命令的唯一标识符。

ulong Id { get; }

Property Value

ulong

Name

获取命令的名称。

string Name { get; }

Property Value

string

Options

获取用户提供的选项。

IReadOnlyCollection<ISlashCommandInteractionDataOption> Options { get; }

Property Value

IReadOnlyCollection<ISlashCommandInteractionDataOption>