BREAKING CHANGE: simpler handler syntax
rojvv opened this issue · comments
Example:
new CommandHandler('hey', ({ event }) => {
await event.message.reply({ message: 'Hey you!' })
})
Do you mean the object destructuring part ?
Yes.
User bot. Redefined.
rojvv opened this issue · comments
Example:
new CommandHandler('hey', ({ event }) => {
await event.message.reply({ message: 'Hey you!' })
})
Do you mean the object destructuring part ?
Yes.