Skip to content

Latest commit

 

History

History
49 lines (45 loc) · 1.1 KB

README.md

File metadata and controls

49 lines (45 loc) · 1.1 KB

chat-agent-core

A platform for developing and testing Chat agents that can connect to multiple environments (Discord, Facebook, etc), react to messages and then output to the same or any other environment.

Setup and run

  • npm install
  • Create a config.json (example below)
  • npm run start:dev

config.json example

{
    "env": {
        "dungarmatic": {
            "type": "discord",
            "DISCORD_TOKEN": "blah"
        }
    },
    "bots": [
        {
            "id": "dungarmatic-discordzac",
            "env": [
                "dungarmatic"
            ],
            "inputs": [
                {
                    "type": "discord",
                    "config": {
                        "channels": [
                            "channel-id"
                        ]
                    }
                }
            ],
            "outputs": [
                {
                    "type": "discord"
                }
            ],
            "plugins": [
                {
                    "type": "simple-repeater"
                }
            ]
        }
    ]
}