mirror of
https://github.com/dsec-hub/dsec-discord-bot.git
synced 2026-09-22 07:44:26 +00:00
added expect messages for docker
This commit is contained in:
parent
c16b5a01cb
commit
f78292d6cd
1 changed files with 5 additions and 1 deletions
|
|
@ -37,5 +37,9 @@ async fn main() {
|
||||||
let client = serenity::ClientBuilder::new(token, intents)
|
let client = serenity::ClientBuilder::new(token, intents)
|
||||||
.framework(framework)
|
.framework(framework)
|
||||||
.await;
|
.await;
|
||||||
client.unwrap().start().await.unwrap();
|
client
|
||||||
|
.expect("Client failed to start")
|
||||||
|
.start()
|
||||||
|
.await
|
||||||
|
.expect("Client failed to start 2");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue