Skip to main content
The Deno 2 Release Candidate is here
Learn more
class SptCommandoCommands
implements IChatCommand
import { SptCommandoCommands } from "https://deno.land/x/sptaki@1.2.0/helpers/mod.ts";

Constructors

new
SptCommandoCommands(configServer: ConfigServer, sptCommands: ISptCommand[])

Properties

protected
configServer: ConfigServer
protected
sptCommands: ISptCommand[]

Methods

getCommandHelp(command: string): string
getCommands(): Set<string>
handle(
command: string,
commandHandler: IUserDialogInfo,
sessionId: string,
): string