Skip to content

Commit

Permalink
Update polls.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ufoptg authored Feb 19, 2024
1 parent 685d155 commit b9e0cb0
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions plugins/polls.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,11 @@
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
# <https://www.github.com/TeamUltroid/Ultroid/blob/main/LICENSE/>.
"""
✘ Commands Available -

• `{i}poll <question> ; <option> ; <option>`
Get the Anonymous Poll with Given Options
from . import get_help

• `{i}poll <question> ; <option> ; <option> | <type>`
Get the poll specified with desired type!
type should be any of `public`, `multiple` or `quiz`
__doc__ = get_help("help_polls")

• `{i}poll <question> ; <option> ; <option> | quiz_<answerno>`
Get the quiz poll where answerno is the number of option which is correct
"""
from telethon.tl.types import InputMediaPoll, Poll, PollAnswer

from . import get_string, ultroid_cmd
Expand Down

0 comments on commit b9e0cb0

Please sign in to comment.