Selaa lähdekoodia

Using an environment variable for the Discord Token

Penta 5 vuotta sitten
vanhempi
sitoutus
fd6e8a24b3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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