Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evasquare/discord-gpt
Talk to AI on Discord! It also comes with useful customization features.
https://github.com/evasquare/discord-gpt
bot discord discord-bot discord-js openai prisma-orm
Last synced: 20 days ago
JSON representation
Talk to AI on Discord! It also comes with useful customization features.
- Host: GitHub
- URL: https://github.com/evasquare/discord-gpt
- Owner: evasquare
- License: mit
- Created: 2023-05-26T09:27:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-08T09:56:33.000Z (4 months ago)
- Last Synced: 2024-10-09T16:01:31.518Z (4 months ago)
- Topics: bot, discord, discord-bot, discord-js, openai, prisma-orm
- Language: TypeScript
- Homepage:
- Size: 211 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# discord-gpt
Discord bot you can use to talk to GPT chatbots. It comes with useful features that help you customize your experience.## Commands
### gpt-channels
Decides channels where the bot always answers you.
(Otherwise, you need to ping the bot.)| command | argument |
| -------------------- | -------- |
| /gpt-channels add | (None) |
| /gpt-channels remove | (None) |### custom-ai-profile
Sets your custom name and image for your AI responses.| command | argument |
| ------------------------- | ----------------- |
| /custom-ai-profile set | name, profile-url |
| /custom-ai-profile remove | (None) |### webhooks
Custom profile only works in channels with a webhook. So you might want to add one for each channel with this command.| command | argument |
| ---------------- | -------- |
| /webhooks add | (None) |
| /webhooks remove | (None) |### ignoring-prefix
Sets prefix the bot needs to ignore. (ex: Other bots with prefix commands, messages you don't want AI to read.)| command | argument |
| ----------------------- | -------- |
| /ignoring-prefix add | prefix |
| /ignoring-prefix remove | prefix |
| /ignoring-prefix view | (None) |### ping
Checks the ping.| command | argument |
| ------- | -------- |
| /ping | (None) |## `package.json` Scripts
| name | description |
| ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| `start` | Start the code in `build` directory. |
| `build` | Build the code in `src` directory. |
| `watch` | Watch changes in the `build` folder and reruns a process when it detects a change. (Requires Node.js v18.11.0+, v19.0.0, or above.) |
| `watch:nodemon` | Watch changes in the `build` folder and reruns a process when it detects a change. |
| `ts:watch` | Watch the `src` directory and applies changes to `build` directory every time TypeScript files are saved. |
| `discord:deploy` | Deploy slash commands for a development server specified in `.env` file. |
| `discord:deploy-global` | Deploy global slash commands. |
| `prisma:push` | Push prisma schema to the database. |
| `lint` | Check ESLint warnings and errors. |## Required Privileged Gateway Intents
- Message Content Intent## Required Bot Permissions
### General Permissions
- Manage Webhooks
- Read Messages/View Channels### Text Permissions
- Send Messages
- Read Message History