Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.15 KB

README.md

File metadata and controls

30 lines (20 loc) · 1.15 KB

Super-Smart-Chatbot

A discord bot which responds to messages using GPT-2.

image image

Is it perfect? Absolutely not! This was being done as more of a tech demo/experiment than as a final product, and for that, it works amazingly!

Running the bot

To set up the bot:

git clone https://github.com/2br-2b/Super-Smart-Chatbot/
cd Super-Smart-Chatbot
pip install -r requirements.txt

Then, create the file token.txt which contains soley the bot's token.

Create channels.txt. In this file, put any number of channel ids separated by line breaks. The bot will automatically respond to any message sent in these channels in addition to DMs and commands.

Create owner.txt. In this file, put one user id number, the id number of the bot's owner.

Even if you don't plan on using any channels or having a bot owner, create these files and leave them empty.

To run the bot, write:

python3 main.py