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))