From f2dc88ba5296bc2fe43bb1e63e40cb8b3ba7ef01 Mon Sep 17 00:00:00 2001 From: minneelyyyy Date: Mon, 3 Mar 2025 00:28:37 -0500 Subject: [PATCH] compiler error: function isn't async in main branch --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index c4fe890..1e5451f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -92,7 +92,7 @@ async fn main() -> Result<(), Error> { let framework = poise::Framework::builder() .options(poise::FrameworkOptions { - commands: commands::commands().await, + commands: commands::commands(), prefix_options: poise::PrefixFrameworkOptions { dynamic_prefix: Some(|ctx| Box::pin(get_prefix(ctx))), edit_tracker: Some(Arc::new(