UNPKG

tess-core-engine

Version:

Tess Core: framework cognitivo modular con API Fluent

8 lines (7 loc) 250 B
module.exports = function createReminderAdapter(config = {}) { return { name: 'reminder', match: ctx => /recu[ée]rdame/.test(ctx.message.toLowerCase()), execute: async ctx => ({ output: `Recordatorio: ${ctx.message}` }) }; };