Migrated everything to dotenvx + edited .gitignore
This commit is contained in:
parent
4269700b66
commit
9944b67edd
6 changed files with 7 additions and 12 deletions
|
@ -1,12 +1,11 @@
|
|||
const fs = require('fs');
|
||||
const axios = require('axios');
|
||||
const Config = require('../props/config.json');
|
||||
const { getStrings } = require('../plugins/checklang.js');
|
||||
const { isOnSpamWatch } = require('../plugins/lib-spamwatch/spamwatch.js');
|
||||
const spamwatchMiddleware = require('../plugins/lib-spamwatch/Middleware.js')(isOnSpamWatch);
|
||||
|
||||
const scrobbler_url = 'http://ws.audioscrobbler.com/2.0/';
|
||||
const api_key = Config.lastKey;
|
||||
const api_key = process.env.lastKey;
|
||||
|
||||
const dbFile = 'src/props/lastfm.json';
|
||||
let users = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue