Initialize client, not on ready

This commit is contained in:
2023-03-11 20:19:38 -05:00
parent fe77b6662d
commit 3a1b35967a
3 changed files with 7 additions and 5 deletions

View File

@@ -18,9 +18,6 @@ impl EventHandler for Handler {
// In this case, just print what the current user's username is.
async fn ready(&self, ctx: Context, ready: Ready) {
println!("{} is connected!", ready.user.name);
println!("Initialize guild voice popin state");
guild_popin::init(ctx).await;
}
async fn guild_create(&self, ctx: Context, guild: Guild, _new: bool) {