HifumiOld icon indicating copy to clipboard operation
HifumiOld copied to clipboard

Turn commands into optionally loaded modules that can be disabled

Open Xetera opened this issue 6 years ago • 0 comments

Right now forking the bot is nearly impossible because ALL env variables have to match otherwise the bot just dies. Turning it into this can make it so before commands are loaded, a specific optional property showing required environment variables can be be checked to see if they're present, if not, ignored. This will probably make loading things from a config.json file more difficult but .env is much better for both dev and production anyways.

Xetera avatar Jul 21 '18 00:07 Xetera