Make Yorokobot a pure binary crate

This commit is contained in:
Victor Mignot 2023-04-16 23:00:08 +02:00
parent 7c7d25df2a
commit d260b43f9a
No known key found for this signature in database
GPG key ID: FFE4EF056FB5E0D0
2 changed files with 14 additions and 15 deletions

View file

@ -1,14 +0,0 @@
//! Discord bot providing a subscription system to topics.
//! Powered by [`Serenity`]
//!
//! [`Serenity`]: https://github.com/serenity-rs/serenity
#![deny(missing_docs)]
#![deny(warnings)]
mod client;
mod database;
mod discord;
mod environment;
pub use crate::client::Client;

View file

@ -1,4 +1,17 @@
use yorokobot::Client; //! Discord bot providing a subscription system to topics.
//! Powered by [`Serenity`]
//!
//! [`Serenity`]: https://github.com/serenity-rs/serenity
#![deny(missing_docs)]
#![deny(warnings)]
mod client;
mod database;
mod discord;
mod environment;
use client::Client;
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {