Explorar o código

Using an environment variable for the Discord Token

Penta %!s(int64=5) %!d(string=hai) anos
pai
achega
fd6e8a24b3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      myanimebot.example.conf

+ 1 - 1
myanimebot.example.conf

@@ -26,7 +26,7 @@ anilist_seconds_between_fetches = 60
 myanimelist_seconds_between_requests = 2
 
 # Discord Token
-token = 123456789ABCDEF987654321FEDCBA
+token = $DISCORD_TOKEN
 
 # Prefix used by the bot
 prefix = !mab