mrubash1 / chatgpt-discord-bot

The ultimate AI-powered Discord bot

Home Page:https://discord.com/api/oauth2/authorize?client_id=1053015370115588147&permissions=277025736768&scope=bot%20applications.commands

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

The ultimate AI-powered Discord bot

https://discord.com/api/oauth2/authorize?client_id=1053015370115588147&permissions=277025736768&scope=bot%20applications.commands

License:MIT License


Languages

Language:TypeScript 100.0%