From the developer's Github:
Ree6 is an all-in-one Discord Bot maintained by Presti, which started as an alternative of Mee6 to provide a lot of features that are hidden behind a paywall or subscription.
There are no ports required for Ree6.
Re-Installing the server via the panel will do the following:
This bot uses a lot of api keys. It will print some errors to the console if you don't have some filled in but the bot should still function as normal with the api keys you entered.
Name | Tag |
---|---|
Java_17 | ghcr.io/pterodactyl/yolks:java_17 |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
[REQUIRED] Discord Bot Token | The token for your Discord bot. Learn how to obtain a token and configure your bot application properly here: https://jmusicbot.com/getting-a-bot-token/ | BOT_TOKEN | Yes | Yes | |
Dagpi token | Your Dagpi.xyz API-Token, for tweet image generation! | DAGPI_TOKEN | Yes | Yes | |
Sentry DSN | Your Sentry DSN, for error reporting! | SENTRY_DSN | Yes | Yes | |
Spotify Client Id | Spotify Application Configuration, used to parse Spotify Tracks/Playlists to YouTube search queries. | SPOTIFY_CLIENT_ID | Yes | Yes | |
Spotify Client Secret | Spotify Application Configuration, used to parse Spotify Tracks/Playlists to YouTube search queries. | SPOTIFY_CLIENT_SECRET | Yes | Yes | |
Heartbeat Url | The URL to the Heartbeat-Server | HEARTBEAT_URL | none | Yes | Yes |
Heartbeat Interval | The interval between the heartbeats. | HEARTBEAT_INTERVAL | 60 | Yes | Yes |
Amari Token | Your Amari API-Token, for Amari Level imports! | AMARI_TOKEN | Yes | Yes | |
Twitch Client Id | Twitch Application Configuration, used for the StreamTools and Twitch Notifications. | TWITCH_CLIENT_ID | Yes | Yes | |
Twitch Client Secret | Twitch Application Configuration, used for the StreamTools and Twitch Notifications. | TWITCH_CLIENT_SECRET | Yes | Yes | |
Twitter Bearer Key | Twitter Application Configuration, used for the Twitter Notifications. | TWITTER_BEARER | Yes | Yes | |
Reddit Client Id | Reddit Application Configuration, used for the Reddit Notification. | REDDIT_CLIENT_ID | Yes | Yes | |
Reddit Client Secret | Reddit Application Configuration, used for the Reddit Notification. | REDDIT_CLIENT_SECRET | Yes | Yes | |
Instagram Username | Instagram Application Configuration, used for the Instagram Notification. | INSTAGRAM_USERNAME | Yes | Yes | |
Instagram Password | Instagram Application Configuration, used for the Instagram Notification. | INSTAGRAM_PASSWORD | Yes | Yes | |
SQL Username | Username for the SQL connection. | DATABASE_USER | root | Yes | Yes |
SQL Database | Database for the SQL Connection | DATABASE_DB | root | Yes | Yes |
SQL Password | Password for the SQL connection. | DATABASE_PW | Yes | Yes | |
SQL Port | Port for the SQL connection. | DATABASE_PORT | 3306 | Yes | Yes |
Database Typ | The Typ of the Database Ree6 should use! Possible typs: - mariadb - sqlite - h2 - postgres | DATABASE_TYP | sqlite | Yes | Yes |
Database Storagefile | The location of the storagefile if sqlite is being used. | DATABASE_FILE | storage/Ree6.db | Yes | Yes |
[DEVELOPER-STUFF] Database Poolsize | The Database connection pool size! | DATABASE_POOL | 10 | Yes | Yes |
Database host | The Host address of the Database connection. | DATABASE_HOST | localhost | Yes | Yes |
OpenAI Token | Your Authentication token that should be used in the AI API calls. | AI_TOKEN | OpenAI API-Token | Yes | Yes |
OpenAI Url | The URL that should receive the API calls. | AI_URL | https://api.openai.com/v1/chat/completions | Yes | Yes |
OpenAI Model | The AI model that should be used in the API calls. | AI_MODEL | gpt-3.5-turbo-0301 | Yes | Yes |
Activity Status | The Activity status of the Bot that will be shown. | MISC_STATUS | ree6.de | %guilds% Servers. (%shard%) | Yes | Yes |
Feedback Channel | The Channel Id of the Feedback channel. | MISC_FEEDBACK | 0 | Yes | Yes |
[DEVELOPER-STUFF] Bot Owner Id | The ID of the Bot Owner, this will be used internally on some checks. | MISC_OWNER | 321580743488831490 | Yes | Yes |
Invite Link | The Invite link to invite the Bot. | MISC_INVITE | https://invite.ree6.de | Yes | Yes |
Predefined Information for AI | The Information for the AI. | MISC_PREDEF | You are Ree6 a Discord bot. | Yes | Yes |
Support Link | The Url link for users to receive support. | MISC_SUPPORT | https://support.ree6.de | Yes | Yes |
Website | The Url to the Website of the Bot. | MISC_WEB | https://ree6.de | Yes | Yes |
Webinterface | The Url to the Webinterface. | MISC_INTERFACE | https://cp.ree6.de | Yes | Yes |
Record Url | The Url that uses can access to get their recording. | MISC_RECORD | https://cp.ree6.de/external/recording | Yes | Yes |
Twitch Url | The Url used to connect a Twitch Account with the Ree6 System. | MISC_TWITCH | https://cp.ree6.de/external/twitch | Yes | Yes |
Advertisment | The Advertisement in Embed Footers and the rest. | MISC_ADV | powered by Tube-hosting | Yes | Yes |
Name | The Name of the Bot. | MISC_NAME | Ree6 | Yes | Yes |
Shards | The amount of shards that should be created. | MISC_SHARD | 1 | Yes | Yes |
#!/bin/bash
## this is a simple script to use the github API for release versions.
## this requires the egg has a variable for GITHUB_PACKAGE and VERSION
## this supports using oauth/personal access tokens via GITHUB_USER and GITHUB_OAUTH_TOKEN (both are required.)
## if you are getting hit with GitHub API limit issues then you need to have the user and token set.
apt update
apt install -y jq curl
CONFIG_LINK="https://raw.githubusercontent.com/ptero-eggs/application-eggs/main/bots/discord/ree6/config.yml"
LATEST_JSON=$(curl --silent "https://api.github.com/repos/Ree6-Applications/Ree6/releases/latest")
RELEASES=$(curl --silent "https://api.github.com/repos/Ree6-Applications/Ree6/releases")
MATCH=jar-with-dependencies.jar
if [ -z "${VERSION}" ] || [ "${VERSION}" == "latest" ]; then
DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -i "${MATCH}" | head -1 )
else
VERSION_CHECK=$(echo ${RELEASES} | jq -r --arg VERSION "${VERSION}" '.[] | select(.tag_name==$VERSION) | .tag_name')
if [ "${VERSION}" == "${VERSION_CHECK}" ]; then
DOWNLOAD_URL=$(echo ${RELEASES} | jq -r --arg VERSION "${VERSION}" '.[] | select(.tag_name==$VERSION) | .assets[].browser_download_url' | grep -i "${MATCH}" | head -1)
else
echo -e "defaulting to latest release"
DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -i *.jar)
fi
fi
## Ree6 Setup
[ ! -d /mnt/server ] && mkdir -p /mnt/server
if [ ! -z "${DOWNLOAD_URL}" ]; then
if curl --output /dev/null --silent --head --fail ${DOWNLOAD_URL}; then
echo -e "link is valid. setting download link to ${DOWNLOAD_URL}"
DOWNLOAD_LINK=${DOWNLOAD_URL}
else
echo -e "link is invalid closing out"
exit 2
fi
fi
cd /mnt/server
echo -e "\nInstalling/Updating Ree6...\n"
if [ -f Ree6.jar ]; then
echo -e "Updating Ree6.jar to latest version..."
echo -e '\t(Old version can be found at "Ree6.jar-old")'
mv -f Ree6.jar Ree6.jar-old
fi
echo -e "Running: curl -sSL -o Ree6.jar ${DOWNLOAD_LINK}\n"
curl -sSL -o Ree6.jar ${DOWNLOAD_LINK}
if [ -f config.yml ]; then
echo -e "Updating config.yml to latest version..."
echo -e '\t(Old version can be found at "config.yml-old")'
mv -f config.yml config.yml-old
fi
echo -e "Running: curl -sSL -o config.yml ${CONFIG_LINK}\n"
curl -sSL -o config.yml ${CONFIG_LINK}
echo -e "\nRee6 Successfully Installed!"