#![doc(
html_logo_url = "https://i.postimg.cc/3rGyjPqQ/logo.png",
html_favicon_url = "https://i.postimg.cc/3rGyjPqQ/logo.png"
)]
#![recursion_limit = "1024"]
#[doc(inline)]
pub mod client;
#[doc(inline)]
pub mod models;
#[doc(inline)]
pub mod utils;
mod error;
mod gateway;
mod http;
pub use error::PandaError;
pub use http::HttpClient;
pub use client::Session;
pub use models::gateway::events;
pub type HandlerResult = Result<(), Box<dyn std::error::Error>>;
pub async fn new(token: impl Into<String>) -> error::Result<client::Client> {
client::Client::new(token).await
}