getPollChoices

Sifts out unique choice words from a string.

version(WithPollPlugin)
private
getPollChoices
(,
const string channelName
,
const string slice
)

Parameters

plugin PollPlugin

The current PollPlugin.

channelName string

The name of the channel the poll belongs to.

slice string

Mutable slice of the input.

Return Value

Type: auto

A Voldemort struct with members choices and origChoiceNames representing the choices found in the input string.