-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
The user should be able to pass run_discordbot.js a command line argument for a filename. This filename will be used in place of the hardcoded configuration file that currently resides in the code.
node examples/run_discordbot.js -f plugin_configuration.json
node examples/run_discordbot.js -f /home/me/path/to/my/configuration.jsonThis allows one to update the start command in package.json to use the -f argument and specify the configuration file, so that the prod bundle may target the default configuration file in the bin directory instead of the examples directory.