feat(error-codes): fix error code explanation and temporarily disable mod applications

This commit is contained in:
DJMrTV 2025-02-14 16:30:36 +01:00
commit 02b68e5c46
3 changed files with 5 additions and 7 deletions

View file

@ -65,7 +65,7 @@ fn create_error_explain_message(str_code: &str, expanded: bool) -> Option<EditMe
return None;
};
let Ok(error) = str_code[5..].parse() else {
let Ok(error) = str_code[4..].parse() else {
return None;
};

View file

@ -26,7 +26,7 @@ async fn main() {
.event_handler(error_codes::ErrorCodeHandler)
.event_handler(ayy::AyyHandler)
.event_handler(cheeseburger::CheeseburgerHandler)
.event_handler(miiverse_mod_application::MiiverseModApplicationHandler::default())
//.event_handler(miiverse_mod_application::MiiverseModApplicationHandler::default())
.await.expect("unable to create client");
client.start().await.expect("error running bot");