aboutsummaryrefslogtreecommitdiff
path: root/azalea/examples/testbot
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/testbot
parenta2606569bb79867d07a075bcf7b05730e4264d72 (diff)
downloadazalea-drasl-5e81d85d7e8eeca1b6c86ea028353d7c55361961.tar.xz
add note about current_thread to azalea readme
Diffstat (limited to 'azalea/examples/testbot')
-rw-r--r--azalea/examples/testbot/main.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/azalea/examples/testbot/main.rs b/azalea/examples/testbot/main.rs
index 8a35a281..8fb96411 100644
--- a/azalea/examples/testbot/main.rs
+++ b/azalea/examples/testbot/main.rs
@@ -20,8 +20,6 @@
//! only have this on if the bot has operator permissions, otherwise it'll
//! just spam the server console unnecessarily.
-#![feature(trivial_bounds)]
-
mod commands;
pub mod killaura;
@@ -34,7 +32,7 @@ use azalea::{
use commands::{CommandSource, register_commands};
use parking_lot::Mutex;
-#[tokio::main]
+#[tokio::main(flavor = "current_thread")]
async fn main() {
let args = parse_args();