api: triaged rename to get_reaction_users
This commit is contained in:
parent
a3f8a0492b
commit
987d9c16e8
|
@ -47,8 +47,7 @@ impl ReactionMeta {
|
|||
///
|
||||
/// # Reference
|
||||
/// See <https://discord.com/developers/docs/resources/channel#get-reactions>
|
||||
// Consider renaming this, maybe get_reaction_users or get_emoji_users
|
||||
pub async fn get(&self, emoji: &str, user: &mut ChorusUser) -> ChorusResult<Vec<PublicUser>> {
|
||||
pub async fn get_reaction_users(&self, emoji: &str, user: &mut ChorusUser) -> ChorusResult<Vec<PublicUser>> {
|
||||
let url = format!(
|
||||
"{}/channels/{}/messages/{}/reactions/{}",
|
||||
user.belongs_to.read().unwrap().urls.api,
|
||||
|
|
Loading…
Reference in New Issue