Git Product home page Git Product logo

chatgpt-discord-bot's Introduction

ChatGPT Discord Bot

Welcome to the ChatGPT Discord Bot GitHub repo! This project provides a friendly AI that you can chat with on Discord using the ChatGPT language model by OpenAI. Engage in captivating conversations on a wide array of topics, ranging from casual chitchat to in-depth discussions. Experience the GPT-powered bot's human-like capabilities firsthand!

Features

  • Chat with an AI language model in your Discord server
  • Supports a wide range of topics and conversation styles
  • Easy to use and customizable

How to Use

  1. Clone this repo using git clone
  2. Head to https://www.discord.com/developers/applications
  3. Create a new bot app, copy the token
  4. Grab your OpenAI token from https://openai.com
  5. Copy config.json.example as a new config.json and fill in the fields
    • Bot Token
    • OpenAI Token
    • Guild ID (Optional)
    • Bot Owner ID
    • Client ID (from https://www.discord.com/developers/applications within your bot application)
    • Engine (generally gpt-3 or gpt-4)
    • Base prompt (Telling ChatGPT how to answer a query, for example, as concisely as possible)
    • Whether Cooldown system is enabled
    • Cooldown milliseconds
    • List any users who can bypass this cooldown
  6. Type npm i
  7. Type node register_slash
  8. Type node bot

Examples

Here are some examples of conversations you can have with ChatGPT:

  • "Hey ChatGPT, what's the weather like today?"
  • "ChatGPT, do you think artificial intelligence will ever surpass human intelligence?"
  • "Can you tell me a joke, ChatGPT?"
  • "What is a binary tree?"

About OpenAI

OpenAI Logo

The ChatGPT Discord Bot is powered by OpenAI's GPT architecture. OpenAI is an AI research laboratory consisting of the for-profit corporation OpenAI LP and its parent company, the non-profit OpenAI Inc. The company's goal is to create artificial general intelligence in a way that is safe and beneficial for humanity.

Contributing

This is an open source project, so contributions are always welcome!

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

chatgpt-discord-bot's People

Contributors

samennis1 avatar

Stargazers

 avatar Warwick Grigg avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.