aboutsummarybugs & patchesrefslogtreecommitdiffstats
path: root/env.sh
diff options
context:
space:
mode:
authorVosjedev <vosje@vosjedev.net>2026-01-25 10:52:08 +0100
committerVosjedev <vosje@vosjedev.net>2026-01-25 10:54:12 +0100
commit2a4e651b6f60a0a7fee077772c89f9ee81b834cb (patch)
tree0ce7d0a54bfd3a71334ba9fb124ee725965504cd /env.sh
parent59a4f151027004ea22872ca8c31437f04ed2b1a5 (diff)
downloaddiscord_image_bridge-2a4e651b6f60a0a7fee077772c89f9ee81b834cb.tar.gz
discord_image_bridge-2a4e651b6f60a0a7fee077772c89f9ee81b834cb.tar.bz2
discord_image_bridge-2a4e651b6f60a0a7fee077772c89f9ee81b834cb.tar.xz
move token.txt to discord_token.txt
Signed-off-by: Vosjedev <vosje@vosjedev.net>
Diffstat (limited to 'env.sh')
-rw-r--r--env.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/env.sh b/env.sh
index 4a3d0bc..1b912e4 100644
--- a/env.sh
+++ b/env.sh
@@ -5,9 +5,9 @@ export MYSQL_PASSWORD=securepassword
export MYSQL_DATABASE=discord_image_bridge
export MYSQL_USER=bridge
-[[ -f "bottoken.txt" ]] && read -r BOT_TOKEN <"bottoken.txt"
+[[ -f "discord_token.txt" ]] && read -r DISCORD_TOKEN <"discord_token.txt"
-export BOT_TOKEN
+export DISCORD_TOKEN
echo "Setup database..."
mkdir -p /tmp/database