feat(bot): refactor a bit and start working on miiverse mod applications

This commit is contained in:
DJMrTV 2025-02-14 14:18:09 +01:00
commit 151a8285a6
6 changed files with 155 additions and 57 deletions

View file

@ -1,4 +1,7 @@
mod error_codes;
mod cheeseburger;
mod ayy;
mod miiverse_mod_application;
use std::env;
use once_cell::sync::Lazy;
@ -21,6 +24,9 @@ async fn main() {
let mut client = Client::builder(&token, intents)
.event_handler(error_codes::ErrorCodeHandler)
.event_handler(ayy::AyyHandler)
.event_handler(cheeseburger::CheeseburgerHandler)
.event_handler(miiverse_mod_application::MiiverseModApplicationHandler::default())
.await.expect("unable to create client");
client.start().await.expect("error running bot");