pokebuddy/examples/plugin-example.js
2026-04-25 23:14:38 -03:00

11 lines
286 B
JavaScript

// Future plugin API example. This file is illustrative only.
export default {
name: 'commit-cheerleader',
version: '0.1.0',
onEvent(event, context) {
if (event.type === 'git:commit') {
return context.say('Your companion approves this commit. Probably.');
}
}
};