Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. const {fetch, Feature} = require('other')
  2.  
  3. const feature = new Feature({
  4. name: 'Map',
  5. version: '0.0.1',
  6. dependencies: {
  7. otherjs: '^3.6.x',
  8. },
  9. })
  10.  
  11. feature.listen({
  12. to: {words: ['map']},
  13. on({word, rest}) {
  14. return { chatCompletions: [{text:'map map map'}] }
  15. },
  16. })
  17.  
  18. module.exports = feature
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement