Skip to content

Commit

Permalink
Add @here command
Browse files Browse the repository at this point in the history
  • Loading branch information
AB committed Jan 20, 2021
1 parent f97562e commit 30bdb23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "desubot"
version = "0.5.1"
version = "0.5.2"
authors = ["AB <ab@hexor.ru>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion src/handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 30bdb23

Please sign in to comment.