onCommandNuke

Deletes recent messages containing a supplied word or phrase.

Must be placed after onAnyMessage in the chain.

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("nuke").policy(PrefixPolicy.prefixed).description("Deletes recent messages containing a supplied word or phrase.").addSyntax("$command [word or phrase]"))
void
onCommandNuke

See Also