MCPcopy Create free account
hub / github.com/Botloader/botloader / createUserCommand

Method createUserCommand

components/runtime/src/ts/script.ts:67–72  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

65 }
66
67 createUserCommand(name: string): Commands.UserCommandBuilder {
68 const builder = Commands.userCommand(name)
69 builder.onBuilt = (cmd) => this.createCommand(cmd)
70
71 return builder
72 }
73
74 createMessageCommand(name: string): Commands.MessageCommandBuilder {
75 const builder = Commands.messageCommand(name)

Callers

nothing calls this directly

Calls 1

createCommandMethod · 0.95

Tested by

no test coverage detected