MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / group

Method group

packages/message/server.ts:165–167  ·  view source on GitHub ↗
(name: string, middleware?: MiddlewareFunction)

Source from the content-addressed store, hash-verified

163 }
164
165 group(name: string, middleware?: MiddlewareFunction) {
166 return new Group(this, name, middleware);
167 }
168
169 on(name: string, func: ApiFunction) {
170 this.apiFunctionMap.set(name, func);

Callers 2

createGMApiFunction · 0.95
initTestGMApiFunction · 0.95

Calls

no outgoing calls

Tested by 1

createGMApiFunction · 0.76