// weather-plugin.ts import definePlugin from 'kotori';
During development, plugins can be reloaded without restarting the entire bot — invaluable for rapid iteration. kotori plugins
); , unmount() console.log('Weather plugin unloaded'); // weather-plugin
If you value clean architecture, cross-platform reach, and TypeScript bliss, Kotori’s plugin system isn’t just solid — it’s a foundation you can trust. // weather-plugin.ts import definePlugin from 'kotori'
load(context) // Listen for incoming messages context.on('message.group', (session) => if (session.message.includes('kotori')) session.send('Did someone call me?');
module.exports = GreetingPlugin;