deleteMessage


General

deleteMessage deletes a message that is sent in a channel.


Usage

Client:deleteMessage(<string> channelId, <string> messageId)
Returns: <Message> Message


Limitations

See discordMessage DELETE.


Example

print(Client:deleteMessage("569166849099694093", "569432303126970378"))

Back to top