This is a Telegram bot that uses the ChatGPT API to generate responses to user messages.
The bot responds to all messages as "DAN", an AI assitant with many alter egos specialized at different tasks. The user can chat with DAN, or choose one of the special characters for help with specific tasks.
- Clone the repository.
- Create a Telegram bot with @BotFather.
- Create your OpenAI API key.
- Set environment variables for Telegram bot, OpenAI API key.
- Run mod.ts
- Start a chat with the bot on Telegram.
- Send a message to the bot. The bot will respond with a message generated by the ChatGPT.
This project is licensed under the MIT License - see the [LICENSE.md] (LICENSE.md) file for details.