Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 750 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 750 Bytes

A Discord bot written in python that integrates ChatGPT and Discord

Installation

First install the required libraries with the requirements.txt File.

pip install -r requirements.txt

Editing main.py file

First, in the line 15, we need to put our OpenAI API Key For this, open the site https://beta.openai.com/account/api-keys, log in (or create a OpenAI account) and click in Create new secret key (https://beta.openai.com/account/api-keys)

Assuming you've already created a discord bot, in line 32, change TOKEN to your bot's token

Editing keep_alive.py

Here, you only need to change the port in the line 13. And now, we are ready!

Contact

Any suggestion or question? Contact me! Discord: Apenas_um_nerd#7866