pub fn react_custom_emoji(args: &Args, emoji_name: &str, fallback: char) -> Result<(), Error> {
    let reaction = find_custom_emoji(args, emoji_name)
        .map(ReactionType::from)
        .unwrap_or_else(|| ReactionType::from(fallback));

    args.msg.react(&args.cx.http, reaction)?;
    Ok(())
}
// React with a custom emoji from the guild, or fallback to a default Unicode emoji
React with a custom emoji from the guild, or fallback to a default Unicode emoji
React with a custom emoji from the guild or fallback to a default Unicode emoji
pub fn react_custom_emoji(args: &Args, emoji_name: &str, fallback: char) -> Result<(), Error> {
    let reaction = find_custom_emoji(args, emoji_name)
        .map(ReactionType::from)
        .unwrap_or_else(|| ReactionType::from(fallback));
    args.msg.react(&args.cx.http, reaction)?;
    Ok(())
}
pub fn react_custom_emoji ( args : & Args , emoji_name : & str , fallback : char ) -> Result < ( ) , Error > { let reaction = find_custom_emoji ( args , emoji_name ) . map ( ReactionType :: from ) . unwrap_or_else ( | | ReactionType :: from ( fallback ) ) ; args . msg . react ( & args . cx . http , reaction ) ? ; Ok ( ( ) ) }
React with a custom emoji from the guild, or fallback to a default Unicode emoji
React with a custom emoji from the guild or fallback to a default Unicode emoji
args
&Args
emoji_name
&str
fallback
char
args
&Args
emoji_name
&str
fallback
char