Question:
A Discord bot comes neatly packed in a jar file that reads my Discord token from the config.txt file.
Discord token can’t be pasted on this config file because my free Repl is public.
Is there a way for this config.txt file to pull the Discord Token from the saved secret env?
Thank you
Repl link:
https://replit.com/@CholO1/Musicbot-2
Screenshots, links, or other helpful context:
// This sets the token for the bot to log in with
// This MUST be a bot token (user tokens will not work)
// If you don't know how to get a bot token, please see the guide here:
// https://github.com/jagrosh/MusicBot/wiki/Getting-a-Bot-Token
token = BOT_TOKEN_HERE
// This sets the owner of the bot
// This needs to be the owner's ID (a 17-18 digit number)
// https://github.com/jagrosh/MusicBot/wiki/Finding-Your-User-ID
owner = 0