Skip to content

Commit

Permalink
Updated documentation for 1.8.0 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
xvitaly committed Feb 8, 2023
1 parent 15ca6ae commit 1cf9961
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/pypi-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Get an API token from the [@BotFather](https://t.me/BotFather).

Copy the example configuration file `config/ecasbot.json` to `/etc/ecasbot/ecasbot.json` (you can also edit it in any text editor).
Copy the example configuration file `packaging/assets/config/ecasbot.json` to `/etc/ecasbot/ecasbot.json` (you can also edit it in any text editor).

Install this bot using Python package manager:
```
Expand Down
9 changes: 8 additions & 1 deletion packaging/assets/manpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ ecasbot - EC AntiSpam bot for the Telegram messenger

EC AntiSpam bot for the Telegram messenger will automatically detect and block multimedia messages, links from the newly joined users, some common spam bots and users who added them to super-groups.

# COMPATIBILITY

The Hide Members feature must be disabled in order to work properly!

# BOT ACTIONS

EC AntiSpam bot can be controlled via Telegram messages.
Expand Down Expand Up @@ -110,7 +114,10 @@ Available options of the `ecasbot.json` configuration file:
* **hidejoins** - enable or disable removing of join messages;
* **language** - the default language for the logs and the internal messages;
* **rotatelogs** - use an internal log rotate function (useful for configurations without logrotate.d; recommended for all non-POSIX systems);
* **duplicatelogs** - allow to duplicate logs to stdout channel when logging to files is enabled.
* **duplicatelogs** - allow to duplicate logs to stdout channel when logging to files is enabled;
* **autoclean** - automatically cleanup used bot commands in super-groups;
* **restalert** - enable or disable alerting the subscribed admins on new restriction events;
* **delalert** - enable or disable alerting the subscribed admins on new message deletion events.

# SYSTEMD UNIT

Expand Down

0 comments on commit 1cf9961

Please sign in to comment.