Skip to content
Entity Info hasPoll

$hasPoll — Checks whether given message holds a poll

Checks whether given message holds a poll

Syntax

$hasPoll[channelID;messageID]

Parameters

  • channelID (id, required) — The channel to get message from
  • messageID (id, required) — The message to check for a poll

Return Value

  • Boolean.

Usage

$hasPoll[channelID;messageID] → result

Example

$sendMessage[$hasPoll[30;1000]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.