Ejemplo n.º 1
0
 /// <summary>
 /// Adds a reaction to a message
 /// </summary>
 /// <param name="channelId">ID of the channel</param>
 /// <param name="messageId">ID of the message</param>
 /// <param name="reaction">The reaction to add</param>
 public static void AddMessageReaction(this DiscordClient client, ulong channelId, ulong messageId, string reactionName, ulong?reactionId = null)
 {
     client.AddMessageReactionAsync(channelId, messageId, reactionName, reactionId).GetAwaiter().GetResult();
 }