Skip to content

Commit

Permalink
Improve docs
Browse files Browse the repository at this point in the history
improve documentation for MessageReactionAdd according to #750
  • Loading branch information
ceriath committed Apr 7, 2022
1 parent df57973 commit 1530bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion restapi.go
Expand Up @@ -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
Expand Down

0 comments on commit 1530bf7

Please sign in to comment.