getMessage


General

getMessage retrieves a message that was sent in a channel.


Usage

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


Limitations

See discordMessage GET.


Example

local getMsg = Client:getMessage("569166849099694093", "569409759179177994")
print(getMsg.content)

 

 

Back to top