diff --git a/src/bot.rs b/src/bot.rs index 741a619..4574f3f 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -334,7 +334,8 @@ impl Bot { }, ); - this.client.sync(SyncSettings::default()).await?; + // Box humongous future + Box::pin(this.client.sync(SyncSettings::default())).await?; unreachable!("sync() returned unexpectedly") } }