mirror of
https://github.com/house-of-vanity/conf_bot.git
synced 2025-07-06 22:34:07 +00:00
Update README.md
This commit is contained in:
21
README.md
21
README.md
@ -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.*
|
||||||
|
Reference in New Issue
Block a user