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

change recv to next in readme

This commit is contained in:
mat 2022-05-09 19:15:03 -05:00
parent 6b7ebc8675
commit fd3a5ea87f

View file

@ -70,7 +70,7 @@ let bot = Bot::offline("bot");
bot.join("localhost".try_into().unwrap()).await.unwrap();
loop {
match bot.recv().await {
match bot.next().await {
Event::Message(m) {
if m.username == bot.username { return };
if m.message = "go" {