import definePlugin from 'kotori'; export default definePlugin( name: 'echo', mount(api) api.on('message', async (ctx) => if (ctx.content.startsWith('!echo ')) const text = ctx.content.slice(6); await ctx.reply(text);
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.
);
); , unmount() console.log('Weather plugin unloaded');