Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Latest commit

 

History

History
42 lines (21 loc) · 819 Bytes

README.md

File metadata and controls

42 lines (21 loc) · 819 Bytes

Logo

Installation

Create your own OpenAI discord bot.

    git clone https://github.com/MannuVilasara/chat-gpt.git
>   clone this repo open it in vs-code.

Environment Variables

To run this project, you will need to create .env file and add the following environment variables to your .env file

OPENAI_API_KEY="Your OpenAI api key"

DISCORD_BOT_TOKEN="Your Discord Bot Token"

DISCORD_CLIENT_ID="Client Id of that bot"

ALLOWED_SERVER_IDS="Server id for which you are making this bot"

SERVER_TO_MODERATION_CHANNEL=1:1 Keep it as it is

Starting the Bot

To Start the bot

  python -m src.main

Now you can use this bot.

Thanks for using this code, don't forget to star this repo.