3 Commits
0.2 ... 0.9

Author SHA1 Message Date
7428d1df51 Update .gitignore 2018-08-21 17:25:12 +03:00
c6f8876c2e Cleaning root. 2018-08-21 17:17:20 +03:00
1c0a3bd582 Update README.md 2018-08-21 16:58:16 +03:00
4 changed files with 23 additions and 1 deletions

3
.gitignore vendored
View File

@ -5,3 +5,6 @@ main.db
main.db-journal main.db-journal
settings.ini settings.ini
code.png code.png
*.swp
*.swo
*.allah

Binary file not shown.

Binary file not shown.

View File

@ -3,8 +3,27 @@
# Create your own spy bot in Telegram ¯\_(ツ)_/¯ # Create your own spy bot in Telegram ¯\_(ツ)_/¯
This bot is able to get every message in your group, log it and send simple stat about top 10 used words. This bot is able to get every message in your group, log it and send simple stat about top 10 used words.
Also bot can summon every active member of group with @here command.
/code - highlight any code snippet following command. There is lexer guesser but you are able to specify language by adding last line comment like this:
```
/code
class Cat {
constructor(name) {
this.name = name;
}
}
function get_name(any_object) {
console.log(any_object.name);
}
var my_cat = new Cat('Cassandra');
get_name(my_cat)
#js
```
/sql - perform an SQL request to internal bot SQLite database. Any WRITE requests are prohibited.
/stat - your top 10 words in conf.
Also bot can summon every active member of group with @here command or just with mentioning bot username like @test_huy_bot .
**Copyright** **Copyright**
*As probabilistic morphological analyzer (PMA) this bot uses mystem app, which developed by yandex and provided as binary package.* *As probabilistic morphological analyzer (PMA) this bot uses mystem app, which developed by yandex and provided as binary package.*