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

MannuVilasara/chat-gpt-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages