From 1c0a3bd58257932cf9ad329abdb4cdc4312862b7 Mon Sep 17 00:00:00 2001 From: House of vanity Date: Tue, 21 Aug 2018 16:58:16 +0300 Subject: [PATCH] Update README.md --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a438ff..27f74f5 100644 --- a/README.md +++ b/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.*