Update FileStream/bot/plugins/FileHandlers/polls.py
Browse files
FileStream/bot/plugins/FileHandlers/polls.py
CHANGED
@@ -7,7 +7,8 @@ from FileStream.utils.FileProcessors.bot_utils import is_user_banned, is_user_ex
|
|
7 |
#@FileStream.on_message(filters.command("result"))
|
8 |
@FileStream.on_poll()
|
9 |
async def get_result(FileStream , message):
|
10 |
-
result = await FileStream.get_messages(chat_id , poll.id)
|
|
|
11 |
print(result.poll.chosen_option)
|
12 |
instruction = {
|
13 |
"privacy_type":"PUBLIC",
|
|
|
7 |
#@FileStream.on_message(filters.command("result"))
|
8 |
@FileStream.on_poll()
|
9 |
async def get_result(FileStream , message):
|
10 |
+
#result = await FileStream.get_messages(chat_id , poll.id)
|
11 |
+
result=message
|
12 |
print(result.poll.chosen_option)
|
13 |
instruction = {
|
14 |
"privacy_type":"PUBLIC",
|