Initialize client, not on ready
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user