Table of Contents

Constructor ChannelTypesAttribute

Namespace
DSharpPlus.Commands.ArgumentModifiers
Assembly
DSharpPlus.Commands.dll

ChannelTypesAttribute(params DiscordChannelType[])

Specifies what channel types the parameter supports.

public ChannelTypesAttribute(params DiscordChannelType[] channelTypes)

Parameters

channelTypes DiscordChannelType[]

The required types of channels.