openai-discord/README.md

8.1 KiB

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

OpenAI Discord

A very simple Discord Bot that integrates the OpenAI library to make use of ChatGPT
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Acknowledgments

About The Project

Formally called 'Aurora GPT', it is a very simple Discord chatbot that was built using discord.js and the GPT-3.5-Turbo of OpenAI.

(back to top)

Built With

  • TypeScript

Packages

(back to top)

Getting Started

Installation

  1. Get a neccesary API Keys
  1. Clone the repo
    git clone https://github.com/KrozT/openai-discord.git
    
  2. Install packages
    yarn install
    
  3. Add the API Keys to your environment variables
    DISCORD_API_KEY='YOUR DISCORD API KEY'
    OPENAI_API_KEY='YOUR OPENAI API KEY'
    
  4. Build project
    yarn run build
    
  5. Start binaries
    yarn run start
    

(back to top)

Usage

Once you have the project initialized just add the chat bot to your server and enjoy.

Commands

Command Description
/ping A very simple ping command
/chat Say anything to the Chat Bot
/clear Delete your interactions with the Chat bot

(back to top)

Roadmap

  • Discord Integration
  • OpenAI Integration
  • Context-based single-user usability
  • Simultaneous context-based multi-user usability
  • Client-based multi-language UI support

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/YourAmazingFeature)
  3. Commit your Changes (git commit -m 'Add some YourAmazingFeature')
  4. Push to the Branch (git push origin feature/YourAmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Acknowledgments

(back to top)