Sprinkle some Rust here
All checks were successful
Build and push container image / build (push) Successful in 6m50s

This commit is contained in:
toast 2023-12-10 20:56:25 +11:00
parent 24943a34b0
commit 3996bad37d

View File

@ -62,7 +62,8 @@ async fn main() {
println!("[{}] {} ran /{}", get_guild_name, ctx.author().name, ctx.command().qualified_name)
}),
..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");
if let Err(why) = client.start().await {