Compare commits

...

6 Commits

Author SHA1 Message Date
Badiboy ace28983b6
Merge pull request #1475 from coder2020official/master
Fix
2022-03-08 22:53:55 +03:00
Badiboy e82675320c
Merge pull request #1474 from WuerfelDev/patch-1
Add TranslateThisVideoBot to the bot list
2022-03-08 22:53:13 +03:00
_run 1e88671799
Merge branch 'eternnoir:master' into master 2022-03-08 12:07:09 +05:00
coder2020official 1cdf9640d7 Fix example on chat_member, fix middleware-exception for async 2022-03-08 12:07:00 +05:00
WuerfelDev 436422e4da
TranslateThisVideo Bot 2022-03-06 22:29:57 +01:00
WuerfelDev 4f654d9e12
Add TranslateThisBot to the bot list 2022-03-06 04:26:40 +01:00
3 changed files with 4 additions and 3 deletions

View File

@ -866,5 +866,6 @@ Here are some examples of template:
* [Diccionario de la RAE](https://t.me/dleraebot) ([source](https://github.com/studentenherz/dleraebot)) This bot lets you find difinitions of words in Spanish using [RAE's dictionary](https://dle.rae.es/). It features direct message and inline search.
* [remoteTelegramShell](https://github.com/EnriqueMoran/remoteTelegramShell) by [EnriqueMoran](https://github.com/EnriqueMoran). Control your LinuxOS computer through Telegram.
* [Pyfram-telegram-bot](https://github.com/skelly37/pyfram-telegram-bot) Query wolframalpha.com and make use of its API through Telegram.
* [TranslateThisVideoBot](https://gitlab.com/WuerfelDev/translatethisvideo) This Bot can understand spoken text in videos and translate it to English
**Want to have your bot listed here? Just make a pull request. Only bots with public source code are accepted.**

View File

@ -31,4 +31,4 @@ async def my_chat_m(message: types.ChatMemberUpdated):
async def delall(message: types.Message):
await bot.delete_message(message.chat.id,message.message_id)
import asyncio
asyncio.run(bot.polling())
asyncio.run(bot.polling(allowed_updates=util.update_types))

View File

@ -318,7 +318,7 @@ class AsyncTeleBot:
except Exception as e:
handler_error = e
if not middleware:
if not middlewares:
if self.exception_handler:
return self.exception_handler.handle(e)
logging.error(str(e))