mirror of https://github.com/zyllian/classics.git synced 2025-05-10 00:06:40 -07:00

add /stop command

This commit is contained in:
Zoey 2024-04-23 01:14:17 -07:00
parent e49e35fe82
commit d5530a1449
No known key found for this signature in database
GPG key ID: 8611B896D1AAFAF2
4 changed files with 44 additions and 13 deletions

View file

@ -467,6 +467,10 @@ async fn handle_stream_inner(
);
}
}
Command::Stop => {
data.stop = true;
}
}
}
Err(msg) => {