BinaryONe commited on
Commit
8cac67d
·
1 Parent(s): ed138b3

Polls Update

Browse files
FileStream/bot/plugins/FileHandlers/polls.py CHANGED
@@ -13,8 +13,8 @@ async def get_result(FileStream , message):
13
  msg_id = question_parts[0]
14
  user_id = question_parts[1]
15
  options_list = [option.text for option in message.options if option.voter_count == 1]
16
- print(options_list)
17
- await FileStream.stop_poll(user_id, message.id)
18
  instruction = {
19
  "privacy_type":"PUBLIC",
20
  "user_id":message.from_user.id if (message.chat.type == ChatType.PRIVATE) else message.chat.id,
 
13
  msg_id = question_parts[0]
14
  user_id = question_parts[1]
15
  options_list = [option.text for option in message.options if option.voter_count == 1]
16
+ print("OPtion List",options_list, "USERID", user_id, "MSGID", msg_id)
17
+ #update FileStream.stop_poll(user_id, message.id)
18
  instruction = {
19
  "privacy_type":"PUBLIC",
20
  "user_id":message.from_user.id if (message.chat.type == ChatType.PRIVATE) else message.chat.id,