Add @here command

This commit is contained in:
AB
2021-01-20 15:53:22 +03:00
parent f97562e9b7
commit 30bdb23a32
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "desubot"
version = "0.5.1"
version = "0.5.2"
authors = ["AB <ab@hexor.ru>"]
edition = "2018"

View File

@ -53,7 +53,7 @@ pub async fn handler(
}
}
}
s if s.contains("/here") => {
s if s.contains("/here") || s.contains("@here") => {
db::add_sentence(&message, mystem).await?;
Here {
data: "".to_string(),