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:
parent
6b7ebc8675
commit
fd3a5ea87f
1 changed files with 1 additions and 1 deletions
|
@ -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" {
|
||||
|
|
Loading…
Add table
Reference in a new issue