diff --git a/.gitignore b/.gitignore index 9c81996..6ff8c81 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules/ nodemon.json -*.log \ No newline at end of file +*.log +.env \ No newline at end of file diff --git a/index.js b/index.js index 8885427..7ccffa5 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,5 @@ +if (process.env.NODE_ENV !== 'production') require('dotenv').config(); + const { CommandoClient } = require('discord.js-commando'); const { Structures } = require('discord.js'); const { MessageEmbed } = require('discord.js');