Skip to content

Commit

Permalink
feat(plugins): add empty node
Browse files Browse the repository at this point in the history
  • Loading branch information
sogehige committed Oct 8, 2022
1 parent 8c356e4 commit 2f11a53
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/plugins/index.ts
Expand Up @@ -21,7 +21,7 @@ import { warning } from '~/helpers/log';

export const processes = {
listener,
cron: listener, // no-op
cron: listener, // no-op
othersIdle,
outputLog,
gateCounter,
Expand All @@ -38,6 +38,9 @@ export const processes = {
twitchSendMessage,
overlaysEmoteFirework,
overlaysEmoteExplosion,
node: () => { // this is just helper node
return true;
},
default: (pluginId: string, currentNode: Node, parameters: Record<string, any>, variables: Record<string, any>, userstate: { userName: string; userId: string; } | null) => {
warning(`PLUGINS: no idea what should I do with ${currentNode.name}, stopping`);
return false;
Expand Down

0 comments on commit 2f11a53

Please sign in to comment.