1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00

change examples with Account

This commit is contained in:
mat 2022-10-16 22:56:31 -05:00
parent 4cef62e8e4
commit ab9e50b130
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ struct State {
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {
let account = Account::offline("bot"); 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 { azalea::start(azalea::Options {
account, account,

View file

@ -6,7 +6,7 @@ use parking_lot::Mutex;
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {
let account = Account::offline("bot"); 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 { azalea::start(azalea::Options {
account, account,