clearMessageReactions
General
clearMessageReactions deletes all the reactions from a message that is sent in a channel.
Usage
Client:clearMessageReactions(<string> channelId, <string> messageId)
Returns: <boolean> success
Limitations
See discordMessage PATCH.
Example
This example checks if the message still has any reactions after clearing them using this method.
local message = Client:clearMessageReactions("493672466544197633", "569451989465825280")
local count = 0
for _ in pairs(message.reactions) do
count = count + 1
end
print(count)