Skip to content

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.

License

Notifications You must be signed in to change notification settings

Grantimatter/DisBotGPT-Py

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

DisBotGPT-PY

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
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

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.

DisBotGPT-PY Screen Shot

(back to top)

Getting Started

Prerequisites

Installation

  1. Clone the repository by running the following command:

    git clone https://github.com/Grantimatter/DisBotGPT-Py.git

  2. Navigate to the project directory:

    cd DisBotGPT-Py

  3. Install the required dependencies:

    pip install -r requirements.txt

  4. Run main.py

(back to top)

Bot setup

Setting up a Discord Bot

  1. Create a Discord account, if you don't already have one.

  2. Go to the Discord Developers Portal and sign in with your Discord account.

  3. Click on the "New Application" button.

  4. Enter a name for your bot and click on the "Create" button.

  5. Go to the "Bot" tab and click on the "Add Bot" button.

  6. 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.

  7. Go to the "OAuth2->Url Generator" tab and select the "bot" scope.

  8. Under "Bot Permissions", select at least these permissions:

    • Read Messages/View Channels
    • Send Messages
    • Create Public Threads
    • Read Message History
  9. 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.

Usage

  • 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.

(back to top)

Roadmap

  • 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).

(back to top)

Contributing

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License.

(back to top)

Contact

Grant Wiswell - @grantimattter - [email protected]

Project Link: https://github.com/Grantimatter/DisBotGPT-Py

(back to top)

Acknowledgments

(back to top)

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages