OpenGPT Discord Bot is an interactive Discord bot built to communicate with OpenAI's GPT-3.5-Turbo and GPT-4 API. This project aims to bring the power and convenience of ChatGPT to Discord servers, allowing users to engage in conversations, ask questions, or seek information from a highly advanced AI language model.
Interact with ChatGPT by simply mentioning the bot using @OpenGPT or replying to a recent message from the bot. Accessible and user-friendly, with a daily limit of 100 Credits (equivalent to ~10 cents) per user to manage API costs.
Invite the official bot to your server with ease using this link: Official discord bot invite
To get a local copy up and running follow these simple steps.
You need the following software to run this plugin:
- Python 3.9+
- OpenAI Account with billing method
- Clone the repository
- Use
pip install -r requirements.txt
to install all dependencies - Rename
.env.example
to.env
and edit your openai api and discord bot token - Start the bot with
python opengpt.py
- Threads
- File Support
- Image Support (GPT-4 api added image support)
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
feature/
for new featuresfix/
for bug fixesdocs/
for documentation changesrefactor/
for code changes that neither fixes a bug nor adds a featurestyle/
for formatting, missing semi colons, etc; no code changetest/
for everything related to testingchore/
for updating build tasks, package manager configs, etc; no production code change
Distributed under the MIT License. See LICENSE
for more information.
The OpenGPT Discord Bot project is actively maintained and improved. Your support and sponsorship on GitHub directly contribute to the ongoing development and maintenance of the project. By sponsoring, you help ensure that the bot continues to provide users with a seamless and engaging ChatGPT-4 experience on Discord.
Sponsor the project here: GitHub Sponsorship Page
Please don't hesitate to open issues or submit pull requests for any improvements or bug fixes. Your contributions are always welcome!
Project Link: https://github.com/DevSkyOne/OpenGPT