Skip to content
This repository has been archived by the owner on Aug 27, 2023. It is now read-only.

Discord bot to interact with OpenAI and fun stuff.

License

Notifications You must be signed in to change notification settings

Beuterei/open-ai-phoenix-bot

Repository files navigation

Contributors Forks Stargazers Issues


Logo

open-ai-phoenix-bot

A Discord test bot to have some fun with OpenAi

· Report Bug · Request Feature

⚠️ I am not responsible for what the AI is generating. Some stuff is NSFW so be aware!

⚠️ I use some greentext datasets. I only format those and did not filter the content. I want to stay as true as possible to the real deal. Dataset used

About The Project

A Discord test bot to have some fun with OpenAI.

The name phoenix comes from OpenAI itself. I just asked it :)

Getting Started Develop

To get a local copy up and running follow these simple steps.

Prerequisites

Installation

  1. Clone the repo
git clone https://github.com/beuluis/open-ai-phoenix-bot.git --branch develop
  1. Start docker-compose
docker-compose up --build

Customization

  1. Create a .env file
touch .env
  1. Overwrite variables as you like (format: {variable name}={variable value})
Variable Description Default value Required
DISCORD_BOT_GREENTEXT_CRON Send a automatic AI greentext 0 17 * * * false
DISCORD_BOT_WIKI_CRON Send a automatic AI wiki article 0 16 * * * false
DISCORD_BOT_ACTIVITY What to show as activity in discord conquer the world false
DISCORD_BOT_CHANNEL_ID Channel the bot sends to true
DISCORD_BOT_TOKEN Discord bot token true
DISCORD_APP_ID Discord app id true
OPENAI_API_KEY OpenAI API token true

Getting Started Production

To get a prod copy up and running follow these simple steps.

Prerequisites

Installation

  1. Clone the repo
git clone https://github.com/beuluis/open-ai-phoenix-bot.git --branch main
  1. Start docker-compose
docker-compose --env-file ./.env.prod -f docker-compose.yml -f docker-compose.production.yml up -d

Customization

  1. Create a .env.prod file
touch .env
  1. Overwrite variables as you like (format: {variable name}={variable value})
Variable Description Default value Required
DISCORD_BOT_GREENTEXT_CRON Send a automatic AI greentext 0 17 * * * false
DISCORD_BOT_WIKI_CRON Send a automatic AI wiki article 0 16 * * * false
DISCORD_BOT_ACTIVITY What to show as activity in discord conquer the world false
DISCORD_BOT_CHANNEL_ID Channel the bot sends to true
DISCORD_BOT_TOKEN Discord bot token true
DISCORD_APP_ID Discord app id true
OPENAI_API_KEY OpenAI API token true

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contact

Luis Beu - [email protected]

About

Discord bot to interact with OpenAI and fun stuff.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages