add cmd as an alias and added exit 0
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user