Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
ayrat555 committed Feb 3, 2022
1 parent e66d61b commit 4768181
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ description = "Changelog"
weight = 3
+++

## 0.5.0 (2022-02-03)

- Remove custom templates (handlebars can be used directly) ([#196](https://github.com/ayrat555/el_monitorro/pull/196))
- Add `remove_filter`, `remove_template`, `remove_global_template` ([#197](https://github.com/ayrat555/el_monitorro/pull/197))

## 0.4.0 (2022-01-22)

- Migrate from html2text to nanohtml2text ([#189](https://github.com/ayrat555/el_monitorro/pull/189))
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,12 @@ Example: /set_template https://www.badykov.com/feed.xml {{bot_feed_name}}
/get_template url - get a template for the subscription
/remove_template url - remove the template
/set_global_template - set global template. This template will be used for all subscriptions. If the subscription has its own template, the subscription template will be used. See /set_template for available fields.
/remove_global_template - remove global template
/get_global_template - get global template
/get_filter url - get a filter for the subscription
Expand Down
2 changes: 2 additions & 0 deletions src/bot/commands/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ static HELP: &str =
- bot_date - publication date of the feed\n\
Example: /set_template https://www.badykov.com/feed.xml {{bot_feed_name}}\n\n\n{{bot_item_name}}\n\n\n{{bot_date}}\n\n\n{{bot_item_link}}\n\n\
/get_template url - get the template for the subscription\n\n\
/remove_template url - remove the template\n\n\
/set_global_template template - set global template. This template will be used for all subscriptions. If the subscription has its own template, it will be used instead. See /set_template for available fields.\n\n\
/remove_global_template - remove global template\n\n\
/get_global_template - get global template\n\n\
/get_filter url - get the filter for the subscription\n\n\
/set_filter url template - set filter, for example, /set_filter https://www.badykov.com/feed.xml telegram,bots. You'll start receiving posts only containing words in the filter. Use `!word` to stop receiving messages containing the specified `word`. You can combine regular filter words with ! filter words. For example, `!bot,telegram`\n\n\
Expand Down

0 comments on commit 4768181

Please sign in to comment.