DiSky DiSky v5.0.0-b1

Poll Builder

type

A poll that has not been sent yet: a question, 1 to 10 answers, a duration and whether voters may pick several answers. Send it with 'post' / 'reply with', or attach it to a message builder with 'attached poll of'. It is validated when attached, and the attached poll is a snapshot: editing the builder afterwards changes nothing.

5 syntaxesnet.itsthesky.disky5.api.polls.PollBuilder
5 / 5

Properties

4
propertyText
[the] poll question of %pollbuilder%
%pollbuilder%'s poll question
change modes set
mentioned inCreating polls
Helpful?
propertyTimespansince 5.0.0-a2
[the] poll duration of %pollbuilder%
%pollbuilder%'s poll duration

How long the poll stays open once sent: from 1 hour to 7 days (24 hours by default).

change modes set
mentioned inCreating polls
Helpful?
propertyBooleansince 5.0.0-a2
[the] multi answer of %pollbuilder%
%pollbuilder%'s multi answer

Whether voters may select several answers.

change modes set
mentioned inCreating polls
Helpful?
propertylist of Poll Answer Draftsince 5.0.0-a2
Feeling lost? This is covered in the guide Creating polls
[the] poll answer drafts of %pollbuilder%
%pollbuilder%'s poll answer drafts

The answers of the poll being built, in order (10 at most).

Add plain texts or 'a new poll answer' objects (to give an answer an emoji); remove one by its text.

change modes setaddremovedelete
Helpful?

Expressions

1

Returned by

2

Syntaxes elsewhere in DiSky that return Poll Builder.

Documentation

1

Hand-written guides that cover Poll Builder.

An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.