From 2b8025ce08618958b6178e852d9090ee2d17cb32 Mon Sep 17 00:00:00 2001 From: null8626 Date: Sat, 16 Dec 2023 00:28:09 +0700 Subject: [PATCH] fix: some fixes --- src/client.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/client.rs b/src/client.rs index c89ccc1..3697560 100644 --- a/src/client.rs +++ b/src/client.rs @@ -261,7 +261,6 @@ impl Client { /// /// println!("{:?}", stats); /// ``` - #[inline(always)] pub async fn get_stats(&self) -> Result { self .inner @@ -370,7 +369,6 @@ impl Client { /// println!("{:?}", voter); /// } /// ``` - #[inline(always)] pub async fn get_voters(&self) -> Result> { self .inner @@ -474,7 +472,7 @@ impl Client { self .inner .http - .get("/bots/votes?userId={}", user_id.as_snowflake()), + .get(api!("/bots/votes?userId={}", user_id.as_snowflake())), None, ) .await @@ -507,7 +505,6 @@ impl Client { /// println!("guess what? it's the weekend! woohoo! 🎉🎉🎉🎉"); /// } /// ``` - #[inline(always)] pub async fn is_weekend(&self) -> Result { self .inner