diff options
| author | mat <github@matdoes.dev> | 2022-10-16 22:56:31 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-10-16 22:56:31 -0500 |
| commit | ab9e50b1307012b698d826a1f4d04b347ee2203f (patch) | |
| tree | ad26a9b22130ebe3ec1096870f2a2457eaa966e6 | |
| parent | 4cef62e8e4aa04e44048eb67e5091c12a73d2a09 (diff) | |
| download | azalea-drasl-ab9e50b1307012b698d826a1f4d04b347ee2203f.tar.xz | |
change examples with Account
| -rw-r--r-- | azalea/examples/craft_dig_straight_down.rs | 2 | ||||
| -rw-r--r-- | 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, |
