I want to make a botconfig with a list of colors in it.. So I can make embeds rly easy..
.setColor(botconfig.colors.warn)
but I can't figure out how..
Make a new file named botconfig.json.
Put your stuff there like this:
"colors":{
"warn": "YOUR_WARN_COLOR"
}
//if you're having issues, Google up "JSON Guide".
In your current file:
const botconfig = require('./botconfig.json')
Now you can use it like .setColor(botconfig.colors.warn).