Skip to content

randomgrace/chatGPT-discord-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chatGPT-discord-bot

Reverse Engineered ChatGPT by OpenAI here.

Setup

Install

pip install discord.py pip3 install revChatGPT

Create a discord bot

  1. Go to https://discord.com/developers/applications create an application.

  2. And build a bot under the application.

  3. Get the token from Bot setting.

    1670143818339

  4. Store the token to config.json under the discord_bot_token

    1670176461891

  5. Turn MESSAGE CONTENT INTENT ON

    1670176647431

  6. Invite your bot through OAuth2 URL Generator

    1670176722801

Get your session token

Go to https://chat.openai.com/chat sign up and log in

  1. Open console with F12

  2. Open Application tab > Cookies

    image

  3. Copy the value for __Secure-next-auth.session-token and paste it into config.json under session_token. You do not need to fill out Authorization

    1670176444011

Have A Good Chat !

1670177247310

About

OpenAI chatGPT discord bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%