onCommandAutomode

Lists current automodes for a user in the current channel, clears them, or adds new ones depending on the verb passed.

version(WithAutomodePlugin)
private
@IRCEventHandler().onEvent(IRCEvent.Type.CHAN).permissionsRequired(Permissions.operator).channelPolicy(ChannelPolicy.home).addCommand(IRCEventHandler.Command().word("automode").policy(PrefixPolicy.prefixed).description("Adds, lists or removes automode definitions for the current channel.").addSyntax("$command add [account] [mode]").addSyntax("$command clear [account]").addSyntax("$command list"))
void
onCommandAutomode