Table of Contents

Constructor ChannelTypesAttribute

Namespace
DSharpPlus.SlashCommands
Assembly
DSharpPlus.SlashCommands.dll

ChannelTypesAttribute(params DiscordChannelType[])

Defines allowed channel types for a channel parameter.

public ChannelTypesAttribute(params DiscordChannelType[] channelTypes)

Parameters

channelTypes DiscordChannelType[]

The channel types to allow.