Closed Turbotailz closed 3 years ago
This bot is getting kinda messy, let's clean it up a bit
dotenv
process.env.<VARIABLE_NAME>
.env.example
.env
start
npm start
test
triggers
!commands
commands
message
mz/fs
metaData
!help
package.json
This looks great, thank you!!
This bot is getting kinda messy, let's clean it up a bit
Changes
dotenv
dependency for better configuration using .env filesprocess.env.<VARIABLE_NAME>
.env.example
- copy this to.env
and fill in the options for quicker setup (please use this for all future config options)start
npm command, can now launch the app withnpm start
test
commandtriggers
module which allows for better modularity with!commands
commands
intotriggers
message
event listenermz/fs
- not really sure why we needed it in the first placemetaData
easily in any module/trigger!help
should now include all triggers unless configured to do sopackage.json