212 Commits

Author SHA1 Message Date
d6a4a1d69a
Document can be None if document_path is provided 2020-11-19 12:32:58 +01:00
668822fc21
Do not log chardet INFO and DEBUG levels 2020-11-16 23:05:18 +01:00
135442dcd6
Compliance with Telegram Bot API 5.0 and improved type hinting for API methods. 2020-11-16 22:56:12 +01:00
eb11160a02
Version number 2020-11-15 21:35:38 +01:00
fda4cac348
Import statements refactored 2020-11-15 21:34:18 +01:00
773fe1fdb1
web should not be imported from aiohttp; use aiohttp.web instead 2020-11-15 20:55:43 +01:00
ddf25f8dd1
Store user profile pictures in bot database and show them in authorization panel 2020-10-07 16:32:51 +02:00
68974c4c40
Pass all information to command handler when using /start 2020-09-26 19:28:18 +02:00
92e39e7ed7
Make general_handler handle photo updates 2020-09-05 10:36:00 +02:00
48b7e1e4a2
Updated examples 2020-08-23 14:21:45 +02:00
b797f3fffe
Remove argument parameter from parser decorator 2020-08-23 14:08:06 +02:00
3e19ba4c81
In text message handler, make available both lowered and original text and inspect condition parameters 2020-08-23 14:03:52 +02:00
e29bb08b7b
Accept language directly 2020-08-20 15:51:00 +02:00
7233f9e478
General handler implemented and applied to contact updates 2020-08-17 23:51:50 +02:00
e481623a75
Document handlers implemented 2020-08-16 15:18:02 +02:00
88835955ef Update default help messages with given ones, instead of replacing them 2020-07-17 09:48:39 +02:00
8c37d00602 In default keyboard, show only buttons for commands the user is authorized to call 2020-07-16 10:06:32 +02:00
ada375b766
Prevent decoding None objects 2020-07-15 13:15:48 +02:00
ed05d843bc
Async function to run shell commands 2020-07-15 13:11:45 +02:00
bc51ed109a
Split outgoing documents bigger than 50 MB and send chunks 2020-06-22 22:56:21 +02:00
293a831958
Typos 2020-06-20 15:43:22 +02:00
fafc3de090
Send error message if database could not be sent - new version 2020-06-20 15:35:24 +02:00
1b4532e2cd Accept both updates and raw_updates in maintenance exception criteria 2020-05-21 15:32:16 +02:00
12cca835b9 Pass to handlers the parameters they take and preserve update_id 2020-05-21 14:55:51 +02:00
7ad4f48de1 Send long text messages as files 2020-05-19 15:20:34 +02:00
cd7392c2fd Prettify expressions removing whitespace around newlines and adjusting whitespace around parentheses 2020-05-19 12:53:29 +02:00
995bfee084 TypeError bug fixed 2020-05-18 22:25:41 +02:00
2131c6acf9 Prevent message is not modified exceptions 2020-05-18 22:08:48 +02:00
7f140371b6 Prettify expressions 2020-05-18 19:31:37 +02:00
a7fd054106 Multilanguage message in version command 2020-05-18 18:58:14 +02:00
1018876227 Remove whitespace at the end of the expression after del button is pressed 2020-05-18 18:50:31 +02:00
e19e022e12 Track input via message of algebraic expressions as well as input via buttons. 2020-05-18 18:33:56 +02:00
11d07b45d6 /calc command implemented 2020-05-18 15:08:15 +02:00
9ab3fb3616 /when command implemented 2020-05-14 22:19:01 +02:00
a7e1b40f93 Useful tools module added 2020-05-14 18:50:24 +02:00
e6fdacd2f4 Allow language-labelled commands 2020-05-14 16:55:50 +02:00
f840f9fe13 /version command looks for updates 2020-05-13 19:45:15 +02:00
d724442604 /ban command implemented 2020-05-13 15:28:49 +02:00
34cf987aa7 Implemented button to delete all commands stored by BotFather 2020-05-07 22:52:57 +02:00
a4079cf91d Implemented /father command.
It allows to see commands stored by BotFather, get default command list, change it and send it to BotFather.
2020-05-07 15:28:17 +02:00
3896776f0e Type hinting 2020-04-28 12:07:37 +02:00
ab6a0bc0ad Do not notify package updates too often 2020-04-28 09:47:41 +02:00
e61d757c1a New version 2020-04-28 00:35:00 +02:00
e7274dce07 Text made more clear 2020-04-27 19:07:28 +02:00
b107cc105d Missing whitespace 2020-04-27 18:00:53 +02:00
3e00381e0a Deprecated custombot submodule 2020-04-27 17:27:25 +02:00
baf1dbbe62 Show all packages with /version command 2020-04-27 14:02:19 +02:00
edb2201773 Package updates checker implemented
Notify administrators when new versions are available for PyPi packages in `bot.packages`.
2020-04-27 13:48:33 +02:00
5a70dcfeb2 Implemented missing methods 2020-04-26 19:14:35 +02:00
6340b4d658 Notify new versions to admins 2020-04-24 00:51:21 +02:00