mirror of
https://github.com/house-of-vanity/conf_bot.git
synced 2025-07-07 14:44:06 +00:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
7428d1df51 | |||
c6f8876c2e | |||
1c0a3bd582 |
3
.gitignore
vendored
3
.gitignore
vendored
@ -5,3 +5,6 @@ main.db
|
||||
main.db-journal
|
||||
settings.ini
|
||||
code.png
|
||||
*.swp
|
||||
*.swo
|
||||
*.allah
|
||||
|
BIN
.worker.py.swo
BIN
.worker.py.swo
Binary file not shown.
BIN
.worker.py.swp
BIN
.worker.py.swp
Binary file not shown.
21
README.md
21
README.md
@ -3,8 +3,27 @@
|
||||
# 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.
|
||||
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**
|
||||
|
||||
*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