Skip to content

Commit

Permalink
Update rubino_dl.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shayanheidari01 authored Jan 9, 2024
1 parent ab4a494 commit d7eb8fd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Examples/rubino_dl.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
from rubpy import Client, filters, Rubino
from rubpy.types import Updates
from httpx import AsyncClient

bot = Client('bot')
rubino = Rubino(client=bot)
httpx = AsyncClient()

@bot.on_message_updates(filters.text)
async def updates(update: Updates):
Expand All @@ -26,4 +24,4 @@ async def updates(update: Updates):
photo=post.full_file_url,
reply_to_message_id=update.message_id)

bot.run()
bot.run()

0 comments on commit d7eb8fd

Please sign in to comment.