mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +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:
|
||||
await bot.api_request("sendMessage", text=text, chat_id=self.chat_id, **params)
|
||||
except TelegramAPIError as e:
|
||||
print(f"[Telegram] sendMessage failed: {e.text}")
|
||||
print(f"[Telegram] sendMessage failed: {e.args[0]}")
|
||||
|
||||
|
||||
class User:
|
||||
|
|
Loading…
Reference in a new issue