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

Function testCustomCodeTrigger

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

Source from the content-addressed store, hash-verified

77 );
78 } catch (e) {
79 pinoLogger.error('Error executing action:', e);
80 }
81}
82
83async function testCustomCodeTrigger() {
84 try {
85 const response = await client.executeCodeTrigger(
86 'musicbee_connected',
87 { test: 'Sent from testCustomCodeTrigger :)' },
88 { customEventResponse: true },

Callers 1

index.jsFile · 0.85

Calls 2

executeCodeTriggerMethod · 0.80
errorMethod · 0.80

Tested by

no test coverage detected