|
4acd10d344
|
Individual voice handler now supported
|
2020-01-04 17:21:02 +01:00 |
|
|
383418d955
|
send_voice method implemented
|
2020-01-04 15:09:16 +01:00 |
|
|
9ae8058017
|
send_audio method implemented
Send audio files by their id if available, otherwise send audio file
from local path and store its telegram_id.
|
2020-01-04 12:50:44 +01:00 |
|
|
807c62ca95
|
os-agnostic way to get file path
|
2019-12-29 22:51:05 +01:00 |
|
|
4c1ffb3382
|
Hack no longer needed to encode filenames
Thanks to tirkarthi.github.io, a simple parameter `quote_fields` can
solve the issue which needed a messy workaround until now.
|
2019-12-27 21:08:29 +01:00 |
|
|
189a10ddbe
|
utilities is a project module, not a third party one
|
2019-12-01 18:21:01 +01:00 |
|
|
e7a30d0369
|
Allow command aliases to be a /command too.
|
2019-12-01 18:20:39 +01:00 |
|
|
d30ed21de2
|
Typos
|
2019-12-01 12:42:05 +01:00 |
|
|
886c0c95e4
|
Typo
|
2019-12-01 12:40:05 +01:00 |
|
|
920554d465
|
Print statements removed
|
2019-11-28 18:12:15 +01:00 |
|
|
85341d7064
|
Placeholder system
Send a placeholder message or chat_action if the request takes some
time.
|
2019-11-28 18:08:58 +01:00 |
|
|
74079fb481
|
Do not encode pictures as utf-8
|
2019-10-01 15:00:00 +02:00 |
|
|
f02aa38200
|
Hide CSV button if no query_id is available
|
2019-09-29 20:18:14 +02:00 |
|
|
0e268414f9
|
Prevent UnboundLocalError
|
2019-09-29 20:16:39 +02:00 |
|
|
aa6f45887e
|
Allow addition of help sections
|
2019-08-18 23:23:48 +02:00 |
|
|
45e2bbfa3d
|
Support for multilanguage /help command
A bot guide may be built automatically using @bot.command decorator.
|
2019-08-18 20:55:47 +02:00 |
|
|
a2365f815d
|
Handle unknown exceptions in getUpdates method
|
2019-08-15 13:45:32 +02:00 |
|
|
72a7dd5a5f
|
Catch and return unexpected exceptions during API calls
|
2019-08-15 11:35:24 +02:00 |
|
|
f525caa2e5
|
Comments
|
2019-08-05 21:59:35 +02:00 |
|
|
91f9119ad5
|
Return result string if it is not a dict
|
2019-08-05 21:44:32 +02:00 |
|
|
3fbe4b93e9
|
get_message method is inherited and must not be overwritten
|
2019-08-05 21:43:58 +02:00 |
|
|
e0f1199768
|
Interrupt if unable to start webapp
|
2019-08-04 22:27:10 +02:00 |
|
|
e6ed4176ad
|
Avoid overwriting self.messages
|
2019-08-04 18:10:02 +02:00 |
|
|
493c127469
|
Make custombot.Bot().command pass reply_keyboard_button parameter
|
2019-08-04 18:07:56 +02:00 |
|
|
5fb28a5c7a
|
Patch for custombot
|
2019-08-04 17:57:02 +02:00 |
|
|
6f45b906ff
|
Add reply keyboard buttons to aliases if necessary
|
2019-07-27 00:00:21 +02:00 |
|
|
1b9c039549
|
Avoid returning fake log_file_name
|
2019-07-26 23:43:11 +02:00 |
|
|
62b390b7b9
|
Multilanguage support for reply keyboard buttons
|
2019-07-26 23:37:23 +02:00 |
|
|
02ce581ced
|
Merge branch 'develop' of ssh://davte.it:8445/Davte/davtelepot into develop
|
2019-07-26 20:21:20 +02:00 |
|
|
82b203b5ab
|
/maintenance command implemented
|
2019-07-26 20:20:53 +02:00 |
|
|
656e08fc1a
|
/maintenance command implemented
|
2019-07-26 19:34:38 +02:00 |
|
|
417dcb63e4
|
/log and /errors commands implemented
Receive bot general log and errors log via bot itself
|
2019-07-26 18:22:27 +02:00 |
|
|
7a994ca957
|
Function to send part of text files
|
2019-07-26 18:21:39 +02:00 |
|
|
c56c37c351
|
Make send_document return an Exception if document to send is not found
|
2019-07-26 14:03:33 +02:00 |
|
|
1297402357
|
/select command implemented
It calls _query_command function
|
2019-07-26 11:42:41 +02:00 |
|
|
39e7d8b783
|
Provide help if /query command is called with no text
|
2019-07-26 11:05:37 +02:00 |
|
|
9961c2734c
|
/query command implemented
Run a SQL query on bot database and receive the results as a message or
a CSV file
|
2019-07-26 10:56:48 +02:00 |
|
|
d60637a3b7
|
Consider user_record in /talk related function
Thus, user-selected language will be applied in get_message method calls
|
2019-07-26 10:56:01 +02:00 |
|
|
d765aea71e
|
Function to send CSV files
|
2019-07-26 10:54:33 +02:00 |
|
|
ad5ec33869
|
Close buffered_file only if it exists
|
2019-07-26 10:36:30 +02:00 |
|
|
80418bd11c
|
Allow keyword arguments in custombot initialization
|
2019-07-22 21:59:31 +02:00 |
|
|
637dca7af2
|
handle_location method deprecated
|
2019-07-22 18:23:39 +02:00 |
|
|
c1c9f7dd78
|
Language suppport for /language command
|
2019-07-22 12:36:38 +02:00 |
|
|
3f4417b84b
|
Added support for multilanguage command descriptions
|
2019-07-21 20:47:54 +02:00 |
|
|
b1c7ee4299
|
Get database url from database object
|
2019-07-21 20:08:01 +02:00 |
|
|
cb64443af2
|
New version
|
2019-07-21 17:46:28 +02:00 |
|
|
9890988f7f
|
/db command implemented
|
2019-07-21 17:46:06 +02:00 |
|
|
f5c661925c
|
Close buffered_file only if it exists
|
2019-07-21 17:45:39 +02:00 |
|
|
04827b4691
|
davtelepot.bot.Bot().send_document method implemented
It accepts document handlers, Telegram `document_id`s or file paths
|
2019-07-21 17:32:27 +02:00 |
|
|
37a2e6a9f2
|
Use default_message argument of get_message method
|
2019-07-21 15:56:30 +02:00 |
|