Spaces:
Running
Running
BinaryONe
commited on
Commit
·
eb22c28
1
Parent(s):
a7ff8c9
changes In Upload
Browse files
FileStream/bot/plugins/FileHandlers/polls.py
CHANGED
|
@@ -3,7 +3,7 @@ from FileStream.bot import FileStream
|
|
| 3 |
|
| 4 |
|
| 5 |
@app.on_poll()
|
| 6 |
-
def handle_poll(
|
| 7 |
print(f"Poll ID: {poll.id}")
|
| 8 |
print(f"Question: {poll.question}")
|
| 9 |
print(f"Options: {poll.options}")
|
|
|
|
| 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}")
|
| 9 |
print(f"Options: {poll.options}")
|