Skip to content

channelCreatePayload

channelCreatePayload(options): ChannelCreateOptions

Defined in: packages/core/src/channel-create.ts:103

Turns createChannel() options into the request Discord expects.

CreateChannelOptions

ChannelCreateOptions

For a name or number Discord would refuse.