feat(error-codes): fix error code explanation and temporarily disable mod applications
This commit is contained in:
parent
151a8285a6
commit
02b68e5c46
3 changed files with 5 additions and 7 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue