dc_add_reaction

dc_add_reaction(message, emoji)#

Example scripts

Reacts to a message with an emoji.

Input parameters#

Parameter Type Description
message Message The message to react to.
emoji Emoji object The emoji to use for the reaction.

Output values#

Uncaught exceptions #

Throws an exception on failure.

  • api_exception
  • missing_permission