mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
change examples with Account
This commit is contained in:
parent
4cef62e8e4
commit
ab9e50b130
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue