MCPcopy Create free account
hub / github.com/esmBot/esmBot / run

Method run

src/classes/command.ts:134–137  ·  view source on GitHub ↗

* The main command function.

()

Source from the content-addressed store, hash-verified

132 * The main command function.
133 */
134 async run(): Promise<string | InteractionContent | CreateMessageOptions | undefined> {
135 this.success = false;
136 return this.getString(`commands.responses.${this.cmdName}.invalid`);
137 }
138
139 /**
140 * The function to run after sending the output.

Callers 15

setupMethod · 0.45
addCountMethod · 0.45
disableCommandMethod · 0.45
enableCommandMethod · 0.45
disableChannelMethod · 0.45
enableChannelMethod · 0.45
setTagMethod · 0.45
removeTagMethod · 0.45
editTagMethod · 0.45
addTagRoleMethod · 0.45
removeTagRoleMethod · 0.45
setBroadcastMethod · 0.45

Calls 1

getStringMethod · 0.95

Tested by

no test coverage detected