- initRouter(__namedParameters: {
applicationId: string;
applicationPublicKey: string;
botToken?: string;
commands: Command[];
logLevel?: LogLevels;
}): ServerlessDiscordRouter
-
Parameters
-
__namedParameters: {
applicationId: string;
applicationPublicKey: string;
botToken?: string;
commands: Command[];
logLevel?: LogLevels;
}
-
applicationId: string
-
applicationPublicKey: string
-
Optional
botToken?: string
-
-
Optional
logLevel?: LogLevels
Initializes a new ServerlessDiscordRouter.
Returns
ServerlessDiscordRouter