AI discord bot that learns from conversations on Discord and chats with people
- Install Node
npm install discord.js
- Install Python
pip3 install chatterbot
- Create config.json
{"token":"pastetokenhere","chatChannel:"","learnChannel":"","address":"127.0.0.1","port":7894,"host":"0.0.0.0"}
- Run
~chat
and~learn
in their respective channels The bot will learn from conversations that happen in your learn channel with a 60 second timeout.
This was an interesting one day project to get my feet wet in machine learning and python sockets. This will be incorporated into CamelBot eventually
- There is a memory leak with the bot listening for a response from the python chatbot.
- The python program will crash if the Discord bot isn't already running