Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/diogo-coding/discord-bot-template-gpt
- Owner: Diogo-Coding
- Created: 2023-10-27T21:36:14.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-11T22:46:07.000Z (about 1 year ago)
- Last Synced: 2023-11-12T23:27:59.477Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)**