BinaryONe commited on
Commit
ac47e66
·
1 Parent(s): eb22c28

changes In Upload

Browse files
FileStream/bot/plugins/FileHandlers/polls.py CHANGED
@@ -2,7 +2,7 @@ from pyrogram import Client
2
  from FileStream.bot import FileStream
3
 
4
 
5
- @app.on_poll()
6
  def handle_poll(FileStream, poll):
7
  print(f"Poll ID: {poll.id}")
8
  print(f"Question: {poll.question}")
 
2
  from FileStream.bot import FileStream
3
 
4
 
5
+ @FileStream.on_poll()
6
  def handle_poll(FileStream, poll):
7
  print(f"Poll ID: {poll.id}")
8
  print(f"Question: {poll.question}")