From 1530bf73ade2f9e07c0dce3b28824833e9445e6f Mon Sep 17 00:00:00 2001 From: Ceriath Date: Wed, 5 Aug 2020 20:32:21 +0200 Subject: [PATCH] Improve docs improve documentation for MessageReactionAdd according to #750 --- restapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restapi.go b/restapi.go index 69b7ceb02..04ce92c64 100644 --- a/restapi.go +++ b/restapi.go @@ -2100,7 +2100,7 @@ func (s *Session) WebhookExecute(webhookID, token string, wait bool, data *Webho // MessageReactionAdd creates an emoji reaction to a message. // channelID : The channel ID. // messageID : The message ID. -// emojiID : Either the unicode emoji for the reaction, or a guild emoji identifier. +// emojiID : Either the unicode emoji for the reaction, or a guild emoji identifier in name:id format (e.g. "hello:1234567654321") func (s *Session) MessageReactionAdd(channelID, messageID, emojiID string) error { // emoji such as #⃣ need to have # escaped