Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const {fetch, Feature} = require('other')
- const feature = new Feature({
- name: 'Map',
- version: '0.0.1',
- dependencies: {
- otherjs: '^3.6.x',
- },
- })
- feature.listen({
- to: {words: ['map']},
- on({word, rest}) {
- return { chatCompletions: [{text:'map map map'}] }
- },
- })
- module.exports = feature
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement