Skip to content

Commit

Permalink
fix: some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
null8626 committed Dec 15, 2023
1 parent dc40dcb commit 2b8025c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ impl Client {
///
/// println!("{:?}", stats);
/// ```
#[inline(always)]
pub async fn get_stats(&self) -> Result<Stats> {
self
.inner
Expand Down Expand Up @@ -370,7 +369,6 @@ impl Client {
/// println!("{:?}", voter);
/// }
/// ```
#[inline(always)]
pub async fn get_voters(&self) -> Result<Vec<Voter>> {
self
.inner
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -507,7 +505,6 @@ impl Client {
/// println!("guess what? it's the weekend! woohoo! πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰");
/// }
/// ```
#[inline(always)]
pub async fn is_weekend(&self) -> Result<bool> {
self
.inner
Expand Down

0 comments on commit 2b8025c

Please sign in to comment.