aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--azalea/examples/craft_dig_straight_down.rs2
-rw-r--r--azalea/examples/echo.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/azalea/examples/craft_dig_straight_down.rs b/azalea/examples/craft_dig_straight_down.rs
index 3b7267ef..89b11021 100644
--- a/azalea/examples/craft_dig_straight_down.rs
+++ b/azalea/examples/craft_dig_straight_down.rs
@@ -11,7 +11,7 @@ struct State {
#[tokio::main]
async fn main() {
let account = Account::offline("bot");
- // or let bot = azalea::Bot::microsoft("access token").await;
+ // or let bot = Account::microsoft("access token").await;
azalea::start(azalea::Options {
account,
diff --git a/azalea/examples/echo.rs b/azalea/examples/echo.rs
index 75cd235f..a5e27d56 100644
--- a/azalea/examples/echo.rs
+++ b/azalea/examples/echo.rs
@@ -6,7 +6,7 @@ use parking_lot::Mutex;
#[tokio::main]
async fn main() {
let account = Account::offline("bot");
- // or let account = azalea::Account::microsoft("access token").await;
+ // or let account = Account::microsoft("access token").await;
azalea::start(azalea::Options {
account,