Table of Contents

Constructor SlashRequireDirectMessageAttribute

Namespace
DSharpPlus.SlashCommands.Attributes
Assembly
DSharpPlus.SlashCommands.dll

SlashRequireDirectMessageAttribute()

Defines that this command is only usable within a direct message channel.

public SlashRequireDirectMessageAttribute()