A declarative framework for creating intelligent chatbots.
import * as Gobot from "gobots"
new Gobot.Server({
name: "Eliza",
description: "Communication between man and machine.",
author: "Dan Stephenson",
version: "2.0.0",
services: {
enabled: ["discord", "irc"],
discord: {
token: "super_crazy_long_string"
},
irc: {
servers: [
{
address: "irc.freenode.net",
nickname: `${this.name}`,
password: "bar",
channels: ["#gobot", "#gobots"]
}
]
}
},
actions: [
{
"Eliza, what version are you?": `Hi, I am version ${this.version}.`,
"Eliza, who created you?": `Hi, I was created by ${this.author}.`
}
]
}).start({verbose: true})
MIT
2017 - 2919 Dan Stephenson (ispyhumanfly)