Skip to content

2br-2b/Super-Smart-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A discord bot which responds to messages using GPT-2

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages