onCommandReconnect

Disconnect from and immediately reconnects to the server.

version(WithAdminPlugin)
private
@IRCEventHandler().onEvent(IRCEvent.Type.CHAN).onEvent(IRCEvent.Type.QUERY).permissionsRequired(Permissions.admin).channelPolicy(ChannelPolicy.home).addCommand(IRCEventHandler.Command().word("reconnect").policy(PrefixPolicy.nickname).description("Disconnects from and immediately reconnects to the server.").addSyntax("$command [optional quit message]"))
void
onCommandReconnect