Poll Answer

BlockMessages

A single answer option for a poll.

Inputs

Answer TextRequired

Text of this poll answer (max 55 characters).

Example: Option A

Emoji

Optional emoji shown next to the answer. Accepts a standard Unicode emoji or Discord custom emoji.

Where it goes

This block can only be placed inside Send Poll.

Build a bot using blocks like Poll Answer

Use this block in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.

Advanced Documentation

This documentation can be useful when using code mode. View as Markdown

ID: poll_answer
  • Can only be placed inside send_poll (answers).

Inputs

FieldInventScript nameValue
Answer Texttexte.g. "Option A"
Emojiemoji

Example InventScript

send_poll(Args{
	channel_id: trigger.channel_id,
	question:   "What is your favorite color?",
	answers: func() {
		poll_answer(Args{text: "Option A"})
	},
})

More messages blocks