Skip to content

Commit

Permalink
Add example of emojiID to MessageReactionAdd (#798)
Browse files Browse the repository at this point in the history
  • Loading branch information
ceriath committed Apr 7, 2022
1 parent 79784e2 commit fb0692b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion restapi.go
Expand Up @@ -2310,7 +2310,7 @@ func (s *Session) WebhookMessageDelete(webhookID, token, messageID string) (err
// 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 fb0692b

Please sign in to comment.