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

Update main.rs

This commit is contained in:
mat 2022-10-16 22:24:01 -05:00
parent 38e03fc8d0
commit 220dffa8c6

View file

@ -10,7 +10,7 @@ struct State {}
async fn main() -> anyhow::Result<()> {
env_logger::init();
let account = Account::microsoft("example@example.com").await?;
let account = Account::microsoft("example2@example.com").await?;
azalea::start(azalea::Options {
account,
@ -26,9 +26,9 @@ async fn main() -> anyhow::Result<()> {
}
async fn handle(bot: Client, event: Arc<Event>, _state: Arc<Mutex<State>>) -> anyhow::Result<()> {
// if let Event::Tick = *event {
// bot.jump();
// }
if let Event::Tick = *event {
bot.jump();
}
Ok(())
}