From ab9e50b1307012b698d826a1f4d04b347ee2203f Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 16 Oct 2022 22:56:31 -0500 Subject: [PATCH] change examples with Account --- azalea/examples/craft_dig_straight_down.rs | 2 +- azalea/examples/echo.rs | 2 +- 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,