aboutsummaryrefslogtreecommitdiff
path: root/azalea/examples/echo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea/examples/echo.rs')
-rw-r--r--azalea/examples/echo.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea/examples/echo.rs b/azalea/examples/echo.rs
index 80b0cb15..09c3d5d3 100644
--- a/azalea/examples/echo.rs
+++ b/azalea/examples/echo.rs
@@ -2,7 +2,7 @@
use azalea::prelude::*;
-#[tokio::main]
+#[tokio::main(flavor = "current_thread")]
async fn main() {
let account = Account::offline("bot");
// or let account = Account::microsoft("email").await.unwrap();