aboutsummarybugs & patchesrefslogtreecommitdiffstats
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
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>
-rw-r--r--.gitignore2
-rw-r--r--env.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 6cd50d6..086849f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,3 @@
-token.txt
+discord_token.txt
**/__pycache__
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