I-Al-Istannen / TogetherJavaBot

A bot for the Togetherjava discord server
MIT License
4 stars 1 forks source link

Move bot token out of config, into envvar #1

Closed itsHobbes closed 5 years ago

itsHobbes commented 5 years ago

Add mainclass to shade config for fatjar

I-Al-Istannen commented 5 years ago

The token is in the config and not an env var, as env vars are essentially public to all code running as the user (and if you are unlucky also to other users).

Unless you have another reason to pull it out, I would like to leave it in there, but I would gladly merge the Main class!