mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
There you go (#75)
This commit is contained in:
parent
0bf9c4ecd0
commit
2ecd1bc32f
1 changed files with 3 additions and 1 deletions
|
@ -41,7 +41,9 @@ class TelegramBot(GenericBot):
|
||||||
alchemy = self.alchemy
|
alchemy = self.alchemy
|
||||||
|
|
||||||
async def reply(call, text: str):
|
async def reply(call, text: str):
|
||||||
await asyncify(call.channel.send_message, telegram_escape(text), parse_mode="HTML")
|
await asyncify(call.channel.send_message, telegram_escape(text),
|
||||||
|
parse_mode="HTML",
|
||||||
|
disable_web_page_preview=True)
|
||||||
|
|
||||||
async def net_request(call, request: Request, destination: str) -> dict:
|
async def net_request(call, request: Request, destination: str) -> dict:
|
||||||
if self.network is None:
|
if self.network is None:
|
||||||
|
|
Loading…
Reference in a new issue