ChatGPT bridge to Discord.
Find a file
Wroclaw b7f6a5fe91 toOpenAIMessages: Add fallback to use user id on empty resolved name
Previously if someone named whose current mechanism
resolved to empty string ("Джо" for example)
then the openai would scream that the name
does not match their server side regex.

Meaning that the bot could not be used
in a given channel until that person
changes it's display name
or it will be forgotten for the bot.
2023-09-27 20:45:23 +02:00
src toOpenAIMessages: Add fallback to use user id on empty resolved name 2023-09-27 20:45:23 +02:00
.eslintrc.json meta: change eslint styling and tsconfig project config 2023-09-18 10:41:54 +02:00
.gitignore Configuration: recactor how it is written and handled 2023-09-18 11:22:10 +02:00
Dockerfile config: fix imports not working correctly 2023-09-21 20:51:38 +02:00
package-lock.json Update OpenAI dependency 2023-09-27 17:14:17 +02:00
package.json Update OpenAI dependency 2023-09-27 17:14:17 +02:00
README.md Configuration: recactor how it is written and handled 2023-09-18 11:22:10 +02:00
schema.prisma Prisma: fix typo [breaking change] 2023-09-18 11:24:35 +02:00
tsconfig.eslint.json meta: change eslint styling and tsconfig project config 2023-09-18 10:41:54 +02:00
tsconfig.json config: fix imports not working correctly 2023-09-21 20:51:38 +02:00

GPTcord

Connect ChatGPT to your Discord chat! This is a direct bridge to bring ChatGPT to discord.

Configuration

Project can be configured in two ways:

  1. config.ts in the project root folder, that exports an IConfig. That interface can be imported from ./src/configDefault.
  2. Using environment variables, as defined in defaultConfig.ts.