Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/diogo-coding/discord-bot-template-gpt

Discord Bot Template with Chat GPT
https://github.com/diogo-coding/discord-bot-template-gpt

Last synced: about 1 month ago
JSON representation

Discord Bot Template with Chat GPT

Awesome Lists containing this project

README

        

# Discord Bot with ChatGPT

>This is a **modern** bot to use on discord servers, with base commands and implementation of **ChatGPT**

## Installation

**Clone** the project, install node modules and follow the ***Guide / Usage***

```
npm install
```

## Guide / Usage

Change the config.example.json with the keys and ids that its needed.
- You will need get an OpenAI Api key: **[OpenAI Api Keys](https://platform.openai.com/api-keys)**
- You will need to create a discord bot: **[Discord Developers Docs](https://discord.com/developers/docs/intro)**
- Get your discord id and discord key from your developer page: **[Discord Developer Portal](https://discord.com/developers/applications)**

Register commands in discord api ***(First you have to create the bot in [[Discord Developer Portal](https://discord.com/developers/applications))***

```
node deploy-commands.js
```

## Notes

>1. This is a personal project done by me, all the code is done following the discord api documentations.
>2. This project is free to use as template for bigger discord bots.
>3. For more information follow **[Discord Developers Documentation](https://discord.com/developers/docs/intro)**