mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
fix error logs
This commit is contained in:
parent
e7694ffc57
commit
a5b7e836c4
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ class Chat:
|
||||||
try:
|
try:
|
||||||
await bot.api_request("sendMessage", text=text, chat_id=self.chat_id, **params)
|
await bot.api_request("sendMessage", text=text, chat_id=self.chat_id, **params)
|
||||||
except TelegramAPIError as e:
|
except TelegramAPIError as e:
|
||||||
print(f"[Telegram] sendMessage failed: {e.text}")
|
print(f"[Telegram] sendMessage failed: {e.args[0]}")
|
||||||
|
|
||||||
|
|
||||||
class User:
|
class User:
|
||||||
|
|
Loading…
Reference in a new issue