[−][src]Function serenity_utils::misc::add_reactions
pub async fn add_reactions<'_, '_>(
ctx: &'_ Context,
msg: &'_ Message,
emojis: Vec<ReactionType>
) -> Result<(), Error>
Adds reactions in a non-blocking fashion.
This allows you to perform other tasks while reactions are being added. This
works by creating a separate task for adding emojis in the background. The
order of emojis
is preserved.
See add_reactions_blocking
to add reactions in a blocking fashion. This
function is slightly less efficient than the blocking counterpart.