A very, very, VERY over-engineered Discord bot built with JavaScript, then rebuilt with TypeScript.
< 62E4 svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true">- Many FFmpeg-based commands
- Many Canvas-based commands
- !stablediffusion command
- Web interface
- So, so much more.
- To get the PLAYGROUND_COOKIE variable:
- Go to https://playgroundai.com/ and log in with your Google account.
- Search through the Network tab in browser DevTools to find the cookie sent along with all generation requests.
- Copy the cookie and place it in the .env file.
- To get the OPENAI_TOKEN variable:
- Create an OpenAI account on https://platform.openai.com/.
- Navigate to the API keys section in the account settings.
- Create an API key and copy it into the .env file. It should start with
sk-
.
- The DISCORD_TOKEN is your Discord bot token.
- All instances of web uploading in this bot makes use of the main instance, hosted on https://flaps.us.to. Feel free to write a PR to change this URL, it's just not something I need to be doing right now
- The idea for !caption2 is NOT inspired by esmBot shut the fuck up
Feel free to open an issue if you need anything!