1 2 3 4 5 6 7
use crate::{client::MaxClient, types::BotInfo, error::Result}; impl MaxClient { pub async fn get_me(&self) -> Result<BotInfo> { self.request(reqwest::Method::GET, "/me", &[], None).await } }