Skip to content

@pumpkin-plugins/upnpumpkin API / commands/register / registerCommands

Function: registerCommands() ​

registerCommands(ctx, forwarder): void

Defined in: packages/upnpumpkin/src/commands/register.ts:12

Registers /upnp status and /upnp reload. Operators of level 3 and the console may use them.

Parameters ​

ctx ​

Context

The plugin context.

forwarder ​

PortForwarder

What the commands report on and control.

Returns ​

void

Pumpkin Plugins documentation