File size: 315 Bytes
c96bd11
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
from FileStream.bot import FileStream


@FileStream.on_poll()
def handle_poll(FileStream, poll):
    print(f"Poll ID: {poll.id}")
    print(f"Question: {poll.question}")
    print(f"Options: {poll.options}")
    print(f"Total Voters: {poll.total_voter_count}")
    #app.loop.create_task(poll_handler(client, poll))