BinaryONe
changes In Upload
c96bd11
raw
history blame
315 Bytes
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))