Closed Krishna-Singhal closed 2 years ago
if replied:
if replied.poll:
text = f'{replied.poll.question}\n'
for i, option in enumerate(replied.poll.options, start=1):
text += f'\n\t{i}.{option.get("text")}'
else:
text = message.reply_to_message.text or message.reply_to_message.caption
if replied: if replied.poll: text = f'{replied.poll.question}\n' for i, option in enumerate(replied.poll.options, start=1): text += f'\n\t{i}.{option.get("text")}' else: text = message.reply_to_message.text or message.reply_to_message.caption
ah lol
@Krishna-Singhal thanks for helping to close that issue :)
@Krishna-Singhal, Thanks for updating this PR.
There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:
Comment last updated at 2022-02-04 07:09:16 UTC