pub(crate) fn has_role(args: &Args, role: &RoleId) -> Result<bool> {
    Ok(args
        .msg
        .member
        .as_ref()
        .ok_or("Unable to fetch member")?
        .roles
        .contains(role))
}
/// Determine if a member sending a message has the `Role`.  
Determine if a member sending a message has the `Role`.
Determine if a member sending a message has the ` Role ` .
pub(crate) fn has_role(args: &Args, role: &RoleId) -> Result<bool> {
    Ok(args
        .msg
        .member
        .as_ref()
        .ok_or("Unable to fetch member")?
        .roles
        .contains(role))
}
pub ( crate ) fn has_role ( args : & Args , role : & RoleId ) -> Result < bool > { Ok ( args . msg . member . as_ref ( ) . ok_or ( " " ) ? . roles . contains ( role ) ) }
Determine if a member sending a message has the `Role`.
Determine if a member sending a message has the ` Role ` .
args
&Args
role
&RoleId
args
&Args
role
&RoleId