SHA256
first commit
This commit is contained in:
commit
21788ba270
643 files changed
+45536
No files matched your search
@@ -0,0 +1,73 @@
|
||||
# Ree6
|
||||
|
||||
___
|
||||
|
||||
## Authors / Contributors
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
<!-- markdownlint-disable -->
|
||||
<table>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a href="https://github.com/dxssucuk">
|
||||
<img src="https://avatars.githubusercontent.com/u/53257574" width="50px;" alt=""/><br /><sub><b>Presti</b></sub>
|
||||
</a>
|
||||
<br />
|
||||
<a href="https://github.com/Ree6-Applications/Ree6/commits?author=dxssucuk" title="Codes">💻</a>
|
||||
<a href="https://github.com/Ree6-Applications/Ree6/commits?author=dxssucuk" title="Original Bot Creator">🤖</a>
|
||||
</td>
|
||||
<td align="center">
|
||||
<a href="https://github.com/parkervcp">
|
||||
<img src="https://avatars.githubusercontent.com/u/1207679" width="50px;" alt=""/><br /><sub><b>parkervcp</b></sub>
|
||||
</a>
|
||||
<br />
|
||||
<a href="https://github.com/parkervcp/eggs/commits?author=parkervcp" title="Codes">💻</a>
|
||||
<a href="https://github.com/parkervcp/eggs/commits?author=parkervcp" title="Original Egg Creator">🥚</a>
|
||||
</td>
|
||||
<td align="center">
|
||||
<a href="https://github.com/QuintenQVD0">
|
||||
<img src="https://avatars.githubusercontent.com/u/67589015" width="50px;" alt=""/><br /><sub><b>QuintenQVD0</b></sub>
|
||||
</a>
|
||||
<br />
|
||||
<a href="https://github.com/parkervcp/eggs/commits?author=QuintenQVD0" title="Codes">💻</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- markdownlint-enable -->
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
___
|
||||
|
||||
## Bot Description & Features
|
||||
|
||||
From the developer's [Github](https://github.com/Ree6-Applications/Ree6):
|
||||
> 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.
|
||||
|
||||
- Contains almost every feature Mee6 has.
|
||||
- Has a open Source Webinterface.
|
||||
- Provides advanced Audit-Logging.
|
||||
- Has built in post notifications (Twitter, Instagram, YouTube, Reddit and Twitch).
|
||||
- Built-in simple Ticket System.
|
||||
- And more!
|
||||
___
|
||||
|
||||
## Configuration
|
||||
|
||||
- You will need to modify the config.yml to even start the bot.
|
||||
|
||||
___
|
||||
|
||||
## Server Ports
|
||||
|
||||
There are no ports required for Ree6.
|
||||
___
|
||||
|
||||
## Updating
|
||||
|
||||
Re-Installing the server via the panel will do the following:
|
||||
|
||||
1. Update the bot to the latest version.
|
||||
|
||||
|
||||
## API keys
|
||||
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.
|
||||
@@ -0,0 +1,128 @@
|
||||
# ################################
|
||||
# # #
|
||||
# # Ree6 Config File #
|
||||
# # by Presti #
|
||||
# # #
|
||||
# ################################
|
||||
#
|
||||
|
||||
# Do not change this!
|
||||
config:
|
||||
version: 3.0.0
|
||||
creation: 1686731674683
|
||||
|
||||
# HikariCP Configuration
|
||||
hikari:
|
||||
|
||||
# SQL Configuration
|
||||
sql:
|
||||
user: root
|
||||
db: root
|
||||
pw: yourpw
|
||||
host: localhost
|
||||
port: 3306
|
||||
|
||||
# Misc Configuration
|
||||
misc:
|
||||
storage: sqlite # Possible entries: sqlite, mariadb, postgresql, h2, h2-server
|
||||
storageFile: storage/Ree6.db
|
||||
createEmbeddedServer: false # Should an instance of an embedded Server be created? Only used for H2-Server.
|
||||
poolSize: 10
|
||||
|
||||
# Discord Application and overall Bot Configuration, used for OAuth, Bot Authentication and customization.
|
||||
bot:
|
||||
tokens:
|
||||
release: ReleaseTokenhere # Token used when set to release build.
|
||||
beta: BetaTokenhere # Token used when set to beta build.
|
||||
dev: DevTokenhere # Token used when set to dev build.
|
||||
|
||||
# Configuration for the Bot itself.
|
||||
misc:
|
||||
status: ree6.de | %guilds% Servers. (%shard%) # The Status of the Bot.
|
||||
feedbackChannelId: 0 # The Channel used for Feedback.
|
||||
ownerId: <YOUR DISCORD ID> # The ID of the Bot Owner. Change this to yours!
|
||||
predefineInformation: | # Predefined Information for the AI.
|
||||
You are Ree6 a Discord bot.
|
||||
invite: https://invite.ree6.de # The Invite Link of the Bot.
|
||||
support: https://support.ree6.de # The Support Server Link of the Bot.
|
||||
github: https://github.ree6.de # The GitHub Link of the Bot.
|
||||
website: https://ree6.de # The Website Link of the Bot.
|
||||
webinterface: https://cp.ree6.de # The Webinterface Link of the Bot.
|
||||
recording: https://cp.ree6.de/external/recording # The Recording Link of the Bot.
|
||||
twitchAuth: https://cp.ree6.de/external/twitch # The Twitch Authentication Link of the Bot.
|
||||
advertisement: powered by Tube-hosting # The Advertisement in Embed Footers and the rest.
|
||||
name: Ree6 # The Name of the Bot.
|
||||
shards: 1 # The shard amount of the Bot. Check out https://anidiots.guide/understanding/sharding/#sharding for more information.
|
||||
|
||||
# Customize the active modules in Ree6.
|
||||
modules:
|
||||
moderation: true # Enable the moderation module.
|
||||
music: true # Enable the music module.
|
||||
fun: true # Enable the fun commands.
|
||||
community: true # Enable the community commands.
|
||||
economy: true # Enable the economy commands.
|
||||
level: true # Enable the level module.
|
||||
nsfw: true # Enable the nsfw module.
|
||||
info: true # Enable the info commands.
|
||||
hidden: true # Enable the hidden commands.
|
||||
logging: true # Enable the logging module.
|
||||
notifier: true # Enable the notifier module.
|
||||
streamtools: true # Enable the Stream-tools module.
|
||||
temporalvoice: true # Enable the Temporal-voice module.
|
||||
tickets: true # Enable the Tickets module.
|
||||
suggestions: true # Enable the suggestions module.
|
||||
customcommands: true # Enable the custom Commands module.
|
||||
customevents: true # Enable the custom Events module.
|
||||
ai: true # Enable the AI module.
|
||||
addons: false # Enable the Addons module.
|
||||
news: true # Enable the news command/module.
|
||||
games: true # Enable the Games module.
|
||||
reactionroles: true # Enable the reaction-roles module.
|
||||
slashcommands: true # Enable the slash-commands support.
|
||||
messagecommands: true # Enable the message-commands support.
|
||||
|
||||
# Heartbeat Configuration, for status reporting
|
||||
heartbeat:
|
||||
url: none # The URL to the Heartbeat-Server
|
||||
interval: 60
|
||||
|
||||
dagpi:
|
||||
apitoken: DAGPI.xyz API-Token # Your Dagpi.xyz API-Token, for tweet image generation!
|
||||
|
||||
amari:
|
||||
apitoken: Amari API-Token # Your Amari API-Token, for Amari Level imports!
|
||||
|
||||
openai:
|
||||
apiToken: OpenAI API-Token # Your OpenAI API-Token, for ChatGPT!
|
||||
apiUrl: https://api.openai.com/v1/chat/completions # The URL to the OpenAI API.
|
||||
model: gpt-3.5-turbo-0301 # The Model used for the OpenAI API.
|
||||
|
||||
sentry:
|
||||
dsn: yourSentryDSNHere # Your Sentry DSN, for error reporting!
|
||||
|
||||
# Spotify Application Configuration, used to parse Spotify Tracks/Playlists to YouTube search queries.
|
||||
spotify:
|
||||
client:
|
||||
id: yourspotifyclientid
|
||||
secret: yourspotifyclientsecret
|
||||
|
||||
# Twitch Application Configuration, used for the StreamTools and Twitch Notifications.
|
||||
twitch:
|
||||
client:
|
||||
id: yourtwitchclientidhere
|
||||
secret: yourtwitchclientsecrethere
|
||||
|
||||
# Twitter Application Configuration, used for the Twitter Notifications.
|
||||
twitter:
|
||||
bearer: yourTwitterBearerToken
|
||||
|
||||
# Reddit Application Configuration, used for the Reddit Notification.
|
||||
reddit:
|
||||
client:
|
||||
id: yourredditclientid
|
||||
secret: yourredditclientsecret
|
||||
|
||||
# Instagram Application Configuration, used for the Instagram Notification.
|
||||
instagram:
|
||||
username: yourInstagramUsername
|
||||
password: yourInstagramPassword
|
||||
@@ -0,0 +1,422 @@
|
||||
{
|
||||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
||||
"meta": {
|
||||
"version": "PTDL_v2",
|
||||
"update_url": null
|
||||
},
|
||||
"exported_at": "2023-06-14T13:03:27+02:00",
|
||||
"name": "Ree6",
|
||||
"author": "presti@presti.me",
|
||||
"description": "All-in-one, open source and 100% free Discord Bot!",
|
||||
"features": null,
|
||||
"docker_images": {
|
||||
"Java_17": "ghcr.io\/pterodactyl\/yolks:java_17"
|
||||
},
|
||||
"file_denylist": [],
|
||||
"startup": "java -Dnogui=true -jar Ree6.jar",
|
||||
"config": {
|
||||
"files": "{\r\n \"config.yml\": {\r\n \"parser\": \"yaml\",\r\n \"find\": {\r\n \"hikari.sql.user\": \"{{server.build.env.DATABASE_USER}}\",\r\n \"hikari.sql.db\": \"{{server.build.env.DATABASE_DB}}\",\r\n \"hikari.sql.pw\": \"{{server.build.env.DATABASE_PW}}\",\r\n \"hikari.sql.host\": \"{{server.build.env.DATABASE_HOST}}\",\r\n \"hikari.sql.port\": \"{{server.build.env.DATABASE_PORT}}\",\r\n \"hikari.misc.storage\": \"{{server.build.env.DATABASE_TYP}}\",\r\n \"hikari.misc.storageFile\": \"{{server.build.env.DATABASE_FILE}}\",\r\n \"hikari.misc.poolSize\": \"{{server.build.env.DATABASE_POOL}}\",\r\n \"hikari.misc.createEmbeddedServer\": \"{{server.build.env.DATABASE_EMBEDDED}}\",\r\n \"heartbeat.url\": \"{{server.build.env.HEARTBEAT_URL}}\",\r\n \"heartbeat.interval\": \"{{server.build.env.HEARTBEAT_INTERVAL}}\",\r\n \"dagpi.apitoken\": \"{{server.build.env.DAGPI_TOKEN}}\",\r\n \"amari.apitoken\": \"{{server.build.env.AMARI_TOKEN}}\",\r\n \"sentry.dsn\": \"{{server.build.env.SENTRY_DSN}}\",\r\n \"spotify.client.id\": \"{{server.build.env.SPOTIFY_CLIENT_ID}}\",\r\n \"spotify.client.secret\": \"{{server.build.env.SPOTIFY_CLIENT_SECRET}}\",\r\n \"twitch.client.id\": \"{{server.build.env.TWITCH_CLIENT_ID}}\",\r\n \"twitch.client.secret\": \"{{server.build.env.TWITCH_CLIENT_SECRET}}\",\r\n \"twitter.consumer.key\": \"{{server.build.env.TWITTER_CONSUMER_ID}}\",\r\n \"twitter.consumer.secret\": \"{{server.build.env.TWITTER_CONSUMER_SECRET}}\",\r\n \"twitter.access.key\": \"{{server.build.env.TWITTER_ACCESS_ID}}\",\r\n \"twitter.access.secret\": \"{{server.build.env.TWITTER_ACCESS_SECRET}}\",\r\n \"reddit.client.id\": \"{{server.build.env.REDDIT_CLIENT_ID}}\",\r\n \"reddit.client.secret\": \"{{server.build.env.REDDIT_CLIENT_SECRET}}\",\r\n \"instagram.username\": \"{{server.build.env.INSTAGRAM_USERNAME}}\",\r\n \"instagram.password\": \"{{server.build.env.INSTAGRAM_PASSWORD}}\",\r\n \"bot.tokens.release\": \"{{server.build.env.BOT_TOKEN}}\",\r\n \"openai.apiToken\": \"{{server.build.env.AI_TOKEN}}\",\r\n \"openai.apiUrl\": \"{{server.build.env.AI_URL}}\",\r\n \"openai.model\": \"{{server.build.env.AI_MODEL}}\",\r\n \"bot.misc.status\": \"{{server.build.env.MISC_STATUS}}\",\r\n \"bot.misc.feedbackChannelId\": \"{{server.build.env.MISC_FEEDBACK}}\",\r\n \"bot.misc.ownerId\": \"{{server.build.env.MISC_OWNER}}\",\r\n \"bot.misc.predefineInformation\": \"{{server.build.env.MISC_PREDEF}}\",\r\n \"bot.misc.invite\": \"{{server.build.env.MISC_INVITE}}\",\r\n \"bot.misc.support\": \"{{server.build.env.MISC_SUPPORT}}\",\r\n \"bot.misc.website\": \"{{server.build.env.MISC_WEB}}\",\r\n \"bot.misc.webinterface\": \"{{server.build.env.MISC_INTERFACE}}\",\r\n \"bot.misc.record\": \"{{server.build.env.MISC_RECORD}}\",\r\n \"bot.misc.twitchAuth\": \"{{server.build.env.MISC_TWITCH}}\",\r\n \"bot.misc.advertisement\": \"{{server.build.env.MISC_ADV}}\",\r\n \"bot.misc.name\": \"{{server.build.env.MISC_NAME}}\",\r\n \"bot.misc.shards\": \"{{server.build.env.MISC_SHARD}}\"\r\n }\r\n }\r\n}",
|
||||
"startup": "{\r\n \"done\": \"Finished Loading\"\r\n}",
|
||||
"logs": "{}",
|
||||
"stop": "^C"
|
||||
},
|
||||
"scripts": {
|
||||
"installation": {
|
||||
"script": "#!\/bin\/bash\r\n## this is a simple script to use the github API for release versions.\r\n## this requires the egg has a variable for GITHUB_PACKAGE and VERSION\r\n## this supports using oauth\/personal access tokens via GITHUB_USER and GITHUB_OAUTH_TOKEN (both are required.)\r\n## if you are getting hit with GitHub API limit issues then you need to have the user and token set.\r\napt update\r\napt install -y jq curl\r\n\r\n\r\nCONFIG_LINK=\"https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/bots\/discord\/ree6\/config.yml\"\r\nLATEST_JSON=$(curl --silent \"https:\/\/api.github.com\/repos\/Ree6-Applications\/Ree6\/releases\/latest\")\r\nRELEASES=$(curl --silent \"https:\/\/api.github.com\/repos\/Ree6-Applications\/Ree6\/releases\")\r\nMATCH=jar-with-dependencies.jar\r\n\r\n\r\nif [ -z \"${VERSION}\" ] || [ \"${VERSION}\" == \"latest\" ]; then\r\n DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -i \"${MATCH}\" | head -1 )\r\nelse\r\n VERSION_CHECK=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .tag_name')\r\n if [ \"${VERSION}\" == \"${VERSION_CHECK}\" ]; then\r\n DOWNLOAD_URL=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .assets[].browser_download_url' | grep -i \"${MATCH}\" | head -1)\r\n else\r\n echo -e \"defaulting to latest release\"\r\n DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -i *.jar)\r\n fi\r\nfi\r\n\r\n## Ree6 Setup\r\n[ ! -d \/mnt\/server ] && mkdir -p \/mnt\/server\r\n\r\nif [ ! -z \"${DOWNLOAD_URL}\" ]; then \r\n if curl --output \/dev\/null --silent --head --fail ${DOWNLOAD_URL}; then\r\n echo -e \"link is valid. setting download link to ${DOWNLOAD_URL}\"\r\n DOWNLOAD_LINK=${DOWNLOAD_URL}\r\n else \r\n echo -e \"link is invalid closing out\"\r\n exit 2\r\n fi\r\nfi\r\n\r\ncd \/mnt\/server\r\necho -e \"\\nInstalling\/Updating Ree6...\\n\"\r\n\r\nif [ -f Ree6.jar ]; then\r\n echo -e \"Updating Ree6.jar to latest version...\"\r\n echo -e '\\t(Old version can be found at \"Ree6.jar-old\")'\r\n mv -f Ree6.jar Ree6.jar-old\r\nfi\r\n\r\necho -e \"Running: curl -sSL -o Ree6.jar ${DOWNLOAD_LINK}\\n\"\r\ncurl -sSL -o Ree6.jar ${DOWNLOAD_LINK}\r\n\r\nif [ -f config.yml ]; then\r\n echo -e \"Updating config.yml to latest version...\"\r\n echo -e '\\t(Old version can be found at \"config.yml-old\")'\r\n mv -f config.yml config.yml-old\r\nfi\r\n\r\necho -e \"Running: curl -sSL -o config.yml ${CONFIG_LINK}\\n\"\r\ncurl -sSL -o config.yml ${CONFIG_LINK}\r\n \r\n\r\necho -e \"\\nRee6 Successfully Installed!\"",
|
||||
"container": "ghcr.io\/parkervcp\/installers:debian",
|
||||
"entrypoint": "bash"
|
||||
}
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"name": "[REQUIRED] Discord Bot Token",
|
||||
"description": "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\/",
|
||||
"env_variable": "BOT_TOKEN",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Dagpi token",
|
||||
"description": "Your Dagpi.xyz API-Token, for tweet image generation!",
|
||||
"env_variable": "DAGPI_TOKEN",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Sentry DSN",
|
||||
"description": "Your Sentry DSN, for error reporting!",
|
||||
"env_variable": "SENTRY_DSN",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Spotify Client Id",
|
||||
"description": "Spotify Application Configuration, used to parse Spotify Tracks\/Playlists to YouTube search queries.",
|
||||
"env_variable": "SPOTIFY_CLIENT_ID",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Spotify Client Secret",
|
||||
"description": "Spotify Application Configuration, used to parse Spotify Tracks\/Playlists to YouTube search queries.",
|
||||
"env_variable": "SPOTIFY_CLIENT_SECRET",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Heartbeat Url",
|
||||
"description": "The URL to the Heartbeat-Server",
|
||||
"env_variable": "HEARTBEAT_URL",
|
||||
"default_value": "none",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "string",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Heartbeat Interval",
|
||||
"description": "The interval between the heartbeats.",
|
||||
"env_variable": "HEARTBEAT_INTERVAL",
|
||||
"default_value": "60",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "integer",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Amari Token",
|
||||
"description": "Your Amari API-Token, for Amari Level imports!",
|
||||
"env_variable": "AMARI_TOKEN",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Twitch Client Id",
|
||||
"description": "Twitch Application Configuration, used for the StreamTools and Twitch Notifications.",
|
||||
"env_variable": "TWITCH_CLIENT_ID",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Twitch Client Secret",
|
||||
"description": "Twitch Application Configuration, used for the StreamTools and Twitch Notifications.",
|
||||
"env_variable": "TWITCH_CLIENT_SECRET",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Twitter Bearer Key",
|
||||
"description": "Twitter Application Configuration, used for the Twitter Notifications.",
|
||||
"env_variable": "TWITTER_BEARER",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Reddit Client Id",
|
||||
"description": "Reddit Application Configuration, used for the Reddit Notification.",
|
||||
"env_variable": "REDDIT_CLIENT_ID",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Reddit Client Secret",
|
||||
"description": "Reddit Application Configuration, used for the Reddit Notification.",
|
||||
"env_variable": "REDDIT_CLIENT_SECRET",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Instagram Username",
|
||||
"description": "Instagram Application Configuration, used for the Instagram Notification.",
|
||||
"env_variable": "INSTAGRAM_USERNAME",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Instagram Password",
|
||||
"description": "Instagram Application Configuration, used for the Instagram Notification.",
|
||||
"env_variable": "INSTAGRAM_PASSWORD",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "SQL Username",
|
||||
"description": "Username for the SQL connection.",
|
||||
"env_variable": "DATABASE_USER",
|
||||
"default_value": "root",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "string|max:32",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "SQL Database",
|
||||
"description": "Database for the SQL Connection",
|
||||
"env_variable": "DATABASE_DB",
|
||||
"default_value": "root",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "string|max:64",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "SQL Password",
|
||||
"description": "Password for the SQL connection.",
|
||||
"env_variable": "DATABASE_PW",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "SQL Port",
|
||||
"description": "Port for the SQL connection.",
|
||||
"env_variable": "DATABASE_PORT",
|
||||
"default_value": "3306",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "integer",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Database Typ",
|
||||
"description": "The Typ of the Database Ree6 should use!\r\nPossible typs:\r\n- mariadb\r\n- sqlite\r\n- h2\r\n- postgres",
|
||||
"env_variable": "DATABASE_TYP",
|
||||
"default_value": "sqlite",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string|in:mariadb,sqlite,postgres,postregsql,h2",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Database Storagefile",
|
||||
"description": "The location of the storagefile if sqlite is being used.",
|
||||
"env_variable": "DATABASE_FILE",
|
||||
"default_value": "storage\/Ree6.db",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string|max:32",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "[DEVELOPER-STUFF] Database Poolsize",
|
||||
"description": "The Database connection pool size!",
|
||||
"env_variable": "DATABASE_POOL",
|
||||
"default_value": "10",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|integer",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Database host",
|
||||
"description": "The Host address of the Database connection.",
|
||||
"env_variable": "DATABASE_HOST",
|
||||
"default_value": "localhost",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "OpenAI Token",
|
||||
"description": "Your Authentication token that should be used in the AI API calls.",
|
||||
"env_variable": "AI_TOKEN",
|
||||
"default_value": "OpenAI API-Token",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "OpenAI Url",
|
||||
"description": "The URL that should receive the API calls.",
|
||||
"env_variable": "AI_URL",
|
||||
"default_value": "https:\/\/api.openai.com\/v1\/chat\/completions",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "OpenAI Model",
|
||||
"description": "The AI model that should be used in the API calls.",
|
||||
"env_variable": "AI_MODEL",
|
||||
"default_value": "gpt-3.5-turbo-0301",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:32",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Activity Status",
|
||||
"description": "The Activity status of the Bot that will be shown.",
|
||||
"env_variable": "MISC_STATUS",
|
||||
"default_value": "ree6.de | %guilds% Servers. (%shard%)",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Feedback Channel",
|
||||
"description": "The Channel Id of the Feedback channel.",
|
||||
"env_variable": "MISC_FEEDBACK",
|
||||
"default_value": "0",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "integer",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "[DEVELOPER-STUFF] Bot Owner Id",
|
||||
"description": "The ID of the Bot Owner, this will be used internally on some checks.",
|
||||
"env_variable": "MISC_OWNER",
|
||||
"default_value": "321580743488831490",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|integer",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Invite Link",
|
||||
"description": "The Invite link to invite the Bot.",
|
||||
"env_variable": "MISC_INVITE",
|
||||
"default_value": "https:\/\/invite.ree6.de",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Predefined Information for AI",
|
||||
"description": "The Information for the AI.",
|
||||
"env_variable": "MISC_PREDEF",
|
||||
"default_value": "You are Ree6 a Discord bot.",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Support Link",
|
||||
"description": "The Url link for users to receive support.",
|
||||
"env_variable": "MISC_SUPPORT",
|
||||
"default_value": "https:\/\/support.ree6.de",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Website",
|
||||
"description": "The Url to the Website of the Bot.",
|
||||
"env_variable": "MISC_WEB",
|
||||
"default_value": "https:\/\/ree6.de",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Webinterface",
|
||||
"description": "The Url to the Webinterface.",
|
||||
"env_variable": "MISC_INTERFACE",
|
||||
"default_value": "https:\/\/cp.ree6.de",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Record Url",
|
||||
"description": "The Url that uses can access to get their recording.",
|
||||
"env_variable": "MISC_RECORD",
|
||||
"default_value": "https:\/\/cp.ree6.de\/external\/recording",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Twitch Url",
|
||||
"description": "The Url used to connect a Twitch Account with the Ree6 System.",
|
||||
"env_variable": "MISC_TWITCH",
|
||||
"default_value": "https:\/\/cp.ree6.de\/external\/twitch",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Advertisment",
|
||||
"description": "The Advertisement in Embed Footers and the rest.",
|
||||
"env_variable": "MISC_ADV",
|
||||
"default_value": "powered by Tube-hosting",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:128",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Name",
|
||||
"description": "The Name of the Bot.",
|
||||
"env_variable": "MISC_NAME",
|
||||
"default_value": "Ree6",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string|max:20",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Shards",
|
||||
"description": "The amount of shards that should be created.",
|
||||
"env_variable": "MISC_SHARD",
|
||||
"default_value": "1",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|integer",
|
||||
"field_type": "text"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user