Skip to content

Polite-AI/node-personality-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personality Helper

A very simple wrapper for the personality server

const makeMessageResponder = require('personality-helper');
const messageResponder = makeMessageResponder({
  "host":"localhost",
  "port":"8000",
  "version":"v1"
}, "english", "standard");

const response - messageResponder("I hate you", "demoSource", "room1", "Event Id", Date.now());

console.log(response.response); // "Spread Love, Not Hate"

About

A very simple wrapper for the personality server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published