/// <summary> /// Adds a reaction to this message. /// <para>Requires <see cref="DiscordPermission.ReadMessageHistory"/>.</para> /// <para>Requires <see cref="DiscordPermission.AddReactions"/> if nobody else has reacted to the message prior.</para> /// </summary> /// <exception cref="ArgumentNullException"></exception> /// <exception cref="DiscordHttpApiException"></exception> public Task CreateReaction(DiscordReactionEmoji emoji) { return(http.CreateReaction(ChannelId, Id, emoji)); }
internal void React(Snowflake channel, Snowflake message, string emojiname) { client.CreateReaction(channel, message, new DiscordReactionEmoji(emojiname)); }