├── .env.example ├── .gitignore ├── LICENSE ├── README.md ├── package.json ├── src ├── client │ └── index.ts ├── commands │ └── chat.ts ├── events │ └── interactionCreate.ts ├── index.ts ├── interfaces │ ├── command.ts │ ├── event.ts │ └── index.ts └── lib │ ├── fetch-sse.ts │ ├── fetch.ts │ ├── index.ts │ ├── stream-async-iterable.ts │ └── types.ts ├── tsconfig.json └── yarn.lock /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Swothh/chatgpt-bot/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Swothh/chatgpt-bot/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Swothh/chatgpt-bot/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Swothh/chatgpt-bot/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Swothh/chatgpt-bot/HEAD/package.json -------------------------------------------------------------------------------- /src/client/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Swothh/chatgpt-bot/HEAD/src/client/index.ts -------------------------------------------------------------------------------- /src/commands/chat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Swothh/chatgpt-bot/HEAD/src/commands/chat.ts -------------------------------------------------------------------------------- /src/events/interactionCreate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Swothh/chatgpt-bot/HEAD/src/events/interactionCreate.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Swothh/chatgpt-bot/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/interfaces/command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Swothh/chatgpt-bot/HEAD/src/interfaces/command.ts -------------------------------------------------------------------------------- /src/interfaces/event.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Swothh/chatgpt-bot/HEAD/src/interfaces/event.ts -------------------------------------------------------------------------------- /src/interfaces/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Swothh/chatgpt-bot/HEAD/src/interfaces/index.ts -------------------------------------------------------------------------------- /src/lib/fetch-sse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Swothh/chatgpt-bot/HEAD/src/lib/fetch-sse.ts -------------------------------------------------------------------------------- /src/lib/fetch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Swothh/chatgpt-bot/HEAD/src/lib/fetch.ts -------------------------------------------------------------------------------- /src/lib/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Swothh/chatgpt-bot/HEAD/src/lib/index.ts -------------------------------------------------------------------------------- /src/lib/stream-async-iterable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Swothh/chatgpt-bot/HEAD/src/lib/stream-async-iterable.ts -------------------------------------------------------------------------------- /src/lib/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Swothh/chatgpt-bot/HEAD/src/lib/types.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Swothh/chatgpt-bot/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Swothh/chatgpt-bot/HEAD/yarn.lock --------------------------------------------------------------------------------