Browse Source

Disable link previews

master
blank X 2 years ago
parent
commit
e2dd94ee34
  1. 2
      redditbot.py

2
redditbot.py

@ -115,7 +115,7 @@ async def main():
k = None
if not k and len(j) == 1:
j = j[0]
await client.send_message(chat, j, file=k)
await client.send_message(chat, j, file=k, link_preview=False)
async def _download_file(filename, url):
print(url)

Loading…
Cancel
Save