DisBotGPT-PY is a project to bring ChatGPT conversations into discord servers!
Simply mention the bot in a text channel and the bot will start a new thread with a uniquely generated title! All replies to the bot in these threads will continue these threads.
Explore the docs »
Report Bug
·
Request Feature
Table of Contents
DisBotGPT-PY is a project to bring ChatGPT conversations into discord servers! Simply mention the bot in a text channel and the bot will start a new thread with a uniquely generated title! All replies to the bot in these threads will continue these threads.
-
Clone the repository by running the following command:
git clone https://github.com/Grantimatter/DisBotGPT-Py.git
-
Navigate to the project directory:
cd DisBotGPT-Py
-
Install the required dependencies:
pip install -r requirements.txt
-
Run
main.py
Setting up a Discord Bot
-
Create a Discord account, if you don't already have one.
-
Go to the Discord Developers Portal and sign in with your Discord account.
-
Click on the "New Application" button.
-
Enter a name for your bot and click on the "Create" button.
-
Go to the "Bot" tab and click on the "Add Bot" button.
-
Click on the "Copy" button next to the "Token" field to copy the bot token. This will be used to authenticate the bot with Discord.
-
Go to the "OAuth2->Url Generator" tab and select the "bot" scope.
-
Under "Bot Permissions", select at least these permissions:
- Read Messages/View Channels
- Send Messages
- Create Public Threads
- Read Message History
-
Click on the "Copy" button next to the generated OAuth2 URL and paste it into your browser to add the bot to your Discord server.
- On first run, the bot will ask for configuration details to get setup.
- Once the configuration is complete and the bot successfully logs in, you should see the bot come online in your discord server.
- Bot will create new conversations (threads) when mentioned with ChatGPT-generated titles
- Bot will remember and continue conversations from each thread
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
Distributed under the MIT License.
Grant Wiswell - @grantimattter - [email protected]
Project Link: https://github.com/Grantimatter/DisBotGPT-Py