isDeletableMessage
isDeletableMessage(
type,canManageMessages):boolean
Parameters
| Parameter | Type | Default value |
|---|---|---|
type | MessageType | undefined |
canManageMessages | boolean | false |
Returns
boolean
See
https://discord.com/developers/docs/resources/message#message-object-message-types