|
Presti 💻 🤖 |
parkervcp 💻 🥚 |
QuintenQVD0 💻 |
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 |
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/
Your Dagpi.xyz API-Token, for tweet image generation!
Your Sentry DSN, for error reporting!
Spotify Application Configuration, used to parse Spotify Tracks/Playlists to YouTube search queries.
Spotify Application Configuration, used to parse Spotify Tracks/Playlists to YouTube search queries.
The URL to the Heartbeat-Server
The interval between the heartbeats.
Your Amari API-Token, for Amari Level imports!
Twitch Application Configuration, used for the StreamTools and Twitch Notifications.
Twitch Application Configuration, used for the StreamTools and Twitch Notifications.
Twitter Application Configuration, used for the Twitter Notifications.
Reddit Application Configuration, used for the Reddit Notification.
Reddit Application Configuration, used for the Reddit Notification.
Instagram Application Configuration, used for the Instagram Notification.
Instagram Application Configuration, used for the Instagram Notification.
Username for the SQL connection.
Database for the SQL Connection
Password for the SQL connection.
Port for the SQL connection.
The Typ of the Database Ree6 should use! Possible typs: - mariadb - sqlite - h2 - postgres
The location of the storagefile if sqlite is being used.
The Database connection pool size!
The Host address of the Database connection.
Your Authentication token that should be used in the AI API calls.
The URL that should receive the API calls.
The AI model that should be used in the API calls.
The Activity status of the Bot that will be shown.
The Channel Id of the Feedback channel.
The ID of the Bot Owner, this will be used internally on some checks.
The Invite link to invite the Bot.
The Information for the AI.
The Url link for users to receive support.
The Url to the Website of the Bot.
The Url to the Webinterface.
The Url that uses can access to get their recording.
The Url used to connect a Twitch Account with the Ree6 System.
The Advertisement in Embed Footers and the rest.
The Name of the Bot.
The amount of shards that should be created.
#!/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!"| Installation Image | ghcr.io/ptero-eggs/installers:debian | Installation Entrypoint | bash |
|---|