aboutsummaryrefslogtreecommitdiff
path: root/azalea/examples/echo.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-06-14 20:33:22 -1030
committermat <git@matdoes.dev>2025-06-14 20:33:22 -1030
commit5e81d85d7e8eeca1b6c86ea028353d7c55361961 (patch)
tree1cf36f406444811ca39b38af0d874d0ae2351368 /azalea/examples/echo.rs
parenta2606569bb79867d07a075bcf7b05730e4264d72 (diff)
downloadazalea-drasl-5e81d85d7e8eeca1b6c86ea028353d7c55361961.tar.xz
add note about current_thread to azalea readme
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();