Skip to content

ispyhumanfly/gobots

Repository files navigation

Gobots

A declarative framework for creating intelligent chatbots.

Synopsis

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})

License

MIT

Copyright

2017 - 2919 Dan Stephenson (ispyhumanfly)

About

A declarative framework for creating intelligent chatbots.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published