Skip to content

Discord bot for interacting with ChatGPT's API by OpenAI

License

Notifications You must be signed in to change notification settings

ausbitbank/ChatGPTDiscord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPTDiscord

A discord bot using openAI's unofficial ChatGPT api to act as a smart chat assistant allowing for natural, conversational interactions between users and the language model. This can be a great way to generate creative ideas, have engaging discussions, or even just pass the time with some entertaining banter.

Warning: You run the risk of having your account banned by OpenAI when using the unofficial free api.

Currently setup for a single channel, and a single conversational thread.

Accepts discord file upload of text based files (analyse code or essays!)

Splits output from chatgpt into multiple messages to get around discord message size limits.

Removes common limitation phrases from output, and rebrands OpenAI to EvilCorp.

Originally forked from https://github.com/acheong08/ChatGPT

Use a version of it (named "wiseguy") live in this discord https://discord.gg/WBKG7VS8Cx in the #chatgpt channel

Setup

Install

git clone https://github.com/ausbitbank/ChatGPTDiscord

cd ChatGPTDiscord

pip3 install requests discord asyncio typing

pip3 install revChatGPT --upgrade

Setup config file with the steps in https://github.com/acheong08/ChatGPT Be sure to add in your "discord_bot_token" (api key), "discord_channel" (channel id for where you want it to response) and "discord_admin_id": (numeric admin account id)

Running

 $ python3 ChatGPTDiscord.py            

Star History

Star History Chart

About

Discord bot for interacting with ChatGPT's API by OpenAI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages