Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if (!process.argv[2]) {
console.log(chalk.red(`[ERROR]`), chalk.white(`>>`), chalk.red(`Developer Badge`), chalk.white(`>>`), chalk.red(`Please provide a member id!`))
process.exit(1);
}
require('dotenv').config('./.env');
require('dotenv').config({ path: './.env' });
// Require database
const mongoose = require('mongoose');
// Require the model
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const Discord = require('discord.js');
const chalk = require('chalk');
require('dotenv').config('./.env');
require('dotenv').config({ path: './.env' });
const axios = require('axios');
// Check if is up to date
const { version } = require('.././package.json');
Expand Down