Sprinkle some Rust here
All checks were successful
Build and push container image / build (push) Successful in 6m50s
All checks were successful
Build and push container image / build (push) Successful in 6m50s
This commit is contained in:
parent
24943a34b0
commit
3996bad37d
@ -62,7 +62,8 @@ async fn main() {
|
|||||||
println!("[{}] {} ran /{}", get_guild_name, ctx.author().name, ctx.command().qualified_name)
|
println!("[{}] {} ran /{}", get_guild_name, ctx.author().name, ctx.command().qualified_name)
|
||||||
}),
|
}),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
}).setup(|ctx, ready, framework| Box::pin(on_ready(ctx, ready, framework)))
|
})
|
||||||
|
.setup(|ctx, ready, framework| Box::pin(on_ready(ctx, ready, framework)))
|
||||||
.build().await.expect("Error while building the client");
|
.build().await.expect("Error while building the client");
|
||||||
|
|
||||||
if let Err(why) = client.start().await {
|
if let Err(why) = client.start().await {
|
||||||
|
Loading…
Reference in New Issue
Block a user