Skip to content

A robust, but simple GPT3 interface with Discord. Chat just like ChatGPT right inside Discord! Generate beautiful AI art using DALL-E 2!

License

Notifications You must be signed in to change notification settings

kazuyabr/GPT3Discord

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Requirements
`python3.7 -m pip install openai`
`python3.7 -m pip install dotenv`
`python3.7 -m pip install discord` (This should be the discord.py rewrite, not the pycord library)

OpenAI API Key (https://beta.openai.com/docs/api-reference/introduction)
Discord Bot Token (https://discord.com/developers/applications)

Both the OpenAI API key and the Discord bot token needed to be loaded into a .env file in the same local directory as the bot file.
```
OPENAI_TOKEN="TOKEN"
DISCORD_TOKEN="TOKEN"
```

# Usage
`python3.7 bot.py`

# Commands
`!g` - Display help text for the bot
`!gp` - Display settings for the model (temperature, top_p, etc)
`!gs <setting> <value>` - Change a model setting to a new value
`!g <prompt>` Ask the GPT3 Davinci 003 model a question.

About

A robust, but simple GPT3 interface with Discord. Chat just like ChatGPT right inside Discord! Generate beautiful AI art using DALL-E 2!

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Shell 0.2%