Skip to content

rconjoe/chatgpt-discord-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Turing

The ultimate AI-powered Discord bot

Requirements

OpenAI

To set up this bot yourself, you will need an OpenAI API key, with a connected credit card.

Replicate

To generate & view images, the bot uses various models from Replicate. Head over to here to view your API key, once you have created an account & connected a credit card.

...

TODO: Add documentation for the other APIs used in the bot

Create a Discord bot

You will need to create a Discord bot application here. The bot does not require any special intents. Then, save the token and application ID for the next step.

Configuration

Firstly, copy the configuration example in src/config.example.json to src/config.json, and follow all the steps inside the file. You will have to fill out all required fields, or else the bot may not work as expected or at all.

Building

Firstly, run npm install to obtain all the packages & depencies. Then, run npm run build to build the bot.

Once built, you will be able to start the bot using npm run start.