Make Yorokobot a pure binary crate
This commit is contained in:
parent
7c7d25df2a
commit
d260b43f9a
14
src/lib.rs
14
src/lib.rs
|
@ -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;
|
|
15
src/main.rs
15
src/main.rs
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue