onCommandWhitelist

Adds a nickname to the list of users who may trigger the bot, to the current IRCClient.Class.whitelist of the current AdminPlugin's IRCPluginState.

This is on a Permissions.operator level.

version(WithAdminPlugin)
private
@IRCEventHandler().onEvent(IRCEvent.Type.CHAN).permissionsRequired(Permissions.operator).channelPolicy(ChannelPolicy.home).addCommand(IRCEventHandler.Command().word("whitelist").policy(PrefixPolicy.prefixed).description("Adds or removes an account to/from the whitelist of users " ~ "(in the current channel).").addSyntax("$command add [account or nickname]").addSyntax("$command del [account or nickname]").addSyntax("$command list"))
void
onCommandWhitelist