Function: canSendAttachments()
canSendAttachments(
channel:Nullish|ChannelTypes):boolean
Defined in: projects/utilities/packages/discord.js-utilities/src/lib/utilities.ts:57
Determines whether or not we can send attachments in a given channel.
Parameters
| Parameter | Type | Description |
|---|---|---|
channel | Nullish | ChannelTypes | The channel to test the permissions from. |
Returns
boolean
Whether or not we can send attachments in the specified channel.