You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
405 B
Rust
18 lines
405 B
Rust
use crate::client::get_client;
|
|
|
|
pub(crate) mod client;
|
|
mod commands;
|
|
pub(crate) mod database;
|
|
mod providers;
|
|
pub(crate) mod utils;
|
|
|
|
#[tokio::main]
|
|
async fn main() {
|
|
let mut client = get_client().await.unwrap();
|
|
|
|
// start listening for events by starting a single shard
|
|
if let Err(why) = client.start().await {
|
|
println!("An error occurred while running the client: {:?}", why);
|
|
}
|
|
}
|