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

@@ -43,6 +43,10 @@ async fn main() {
.await
.expect("Err creating client");
// TODO: do checks when getting data in add guild etc.
println!("Initialize guild voice popin state");
utils::guild_popin::init(client);
if let Err(why) = client.start().await {
println!("Client error: {:?}", why);
}