onCommandEndPoll

Ends a Twitch poll.

Currently ends the first active poll if there are several.

Note: Experimental, since we cannot try it out ourselves.

version(TwitchSupport && WithTwitchPlugin)
private
@IRCEventHandler().onEvent(IRCEvent.Type.CHAN).onEvent(IRCEvent.Type.SELFCHAN).permissionsRequired(Permissions.operator).channelPolicy(ChannelPolicy.home).fiber(true).addCommand(IRCEventHandler.Command().word("endpoll").policy(PrefixPolicy.prefixed).description("(Experimental) Ends a Twitch poll.")).addCommand(IRCEventHandler.Command().word("endvote").policy(PrefixPolicy.prefixed).hidden(true))
void
onCommandEndPoll

See Also