https://github.com/lschvn/discord-gpt
An innovative Discord bot leveraging ChatGPT for generating images, texts, and voice messages, enhancing user interaction and engagement in Discord servers.
https://github.com/lschvn/discord-gpt
Last synced: 13 days ago
JSON representation
An innovative Discord bot leveraging ChatGPT for generating images, texts, and voice messages, enhancing user interaction and engagement in Discord servers.
- Host: GitHub
- URL: https://github.com/lschvn/discord-gpt
- Owner: lschvn
- Created: 2023-11-21T13:17:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-21T14:14:21.000Z (over 1 year ago)
- Last Synced: 2025-02-17T15:14:31.354Z (3 months ago)
- Language: JavaScript
- Size: 4.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Caen Weather Daily
A Discord bot enhanced with the OpenAI API.
## Installation
Clone the repository
```bash
git clone [email protected]:LouisLoveCryptoo/discordGPT.git
```## Usage
```json
// Add your Discord and ChatGPT API credentials
{
"clientId": "YOUR_CLIENT_ID",
"guildId": "YOUR_GUILD_ID",
"token": "YOUR_DISCORD_TOKEN",
"apiKey":"YOUR_OPENAI_KEY"
}
```
### Starting the Bot
```bash
node index.js
```### Adding New Slash Commands
Create a .js file in the ./commands directory and write your script. Then, execute the following command in your terminal to add the commands:
```bash
node commands.js
```
If you encounter any errors with the slash commands, use this line to delete all the commands from the Discord bot:
```bash
node delete.js
```
### Contributing
Feel free to fork this repository and submit pull requests with your own improvements.