Skip to content

AguuZzz/ChatGPT-DiscordBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chatgpt Discord bot

A Discord bot that implements the ChatGPT AI intelligence

Requirements

These modules need to be installed:

$ pip install -U Flask
$ python3 -m pip install -U discord.py
$ pip install openai

TOKENS

To obtain the OpenAI API key, you will need to have an account and go to the following page:

https://platform.openai.com/account/api-keys

alt openaikey

And for Discord, you will need to create an application from the following page:

https://discord.com/developers/applications

(In "Bot" option)

alt discordkey

And paste both keys in:

openai.api_key = TOKEN
bot.run(TOKEN)

with quotes

Releases

No releases published

Packages

No packages published

Languages