MCPcopy Create free account
hub / github.com/Streamerbot/client / testDoAction

Function testDoAction

examples/nodejs/index.js:71–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69}
70
71async function testDoAction() {
72 try {
73 const response = await client.doAction(
74 { name: 'Test' },
75 { test: 'Sent from testDoAction :)' },
76 { customEventResponse: true },
77 );
78 } catch (e) {
79 pinoLogger.error('Error executing action:', e);
80 }

Callers 1

index.jsFile · 0.85

Calls 2

doActionMethod · 0.80
errorMethod · 0.80

Tested by

no test coverage detected