add cmd as an alias and added exit 0

This commit is contained in:
poslop
2023-12-14 12:23:59 -06:00
parent c4abd033fc
commit da9822ef18
2 changed files with 2 additions and 0 deletions

View File

@@ -78,6 +78,8 @@ async fn main() {
if let Err(why) = client.start().await { if let Err(why) = client.start().await {
println!("An error occurred while running the client: {:?} \n Check that there is a bot token set in config", why); println!("An error occurred while running the client: {:?} \n Check that there is a bot token set in config", why);
} }
std::process::exit(0);
} }