summaryrefslogtreecommitdiff
path: root/crates/bot/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/bot/src/main.rs')
-rw-r--r--crates/bot/src/main.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/crates/bot/src/main.rs b/crates/bot/src/main.rs
new file mode 100644
index 0000000..390e79b
--- /dev/null
+++ b/crates/bot/src/main.rs
@@ -0,0 +1,10 @@
+#[tokio::main]
+async fn main() -> Result<(), bot_error::Error> {
+ dotenvy::dotenv().ok();
+ env_logger::try_init()?;
+
+ let mut client = bot_client::get().await?;
+ client.start().await?;
+
+ Ok(())
+}