13.2.2 get version in config from package.json
This commit is contained in:
2 files changed
+5
-3
No files matched your search
+2
-1
@@ -1,8 +1,9 @@
|
||||
const package = require('../package.json');
|
||||
require('dotenv').config();
|
||||
|
||||
module.exports = {
|
||||
Dev: "PROD.",
|
||||
Version: "13.2.1", // (major).(feature).(revision/bug/refactoring)
|
||||
Version: package.version, // (major).(feature).(revision/bug/refactoring)
|
||||
Admins: ["362791661274660874", "329371697570381824"], // Admins of the bot
|
||||
DefaultPrefix: "?",
|
||||
ServerID: "955668596745461830",
|
||||
|
||||
+3
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "quarksbot",
|
||||
"version": "1.0.0",
|
||||
"version": "13.2.2",
|
||||
"description": "Grand Theft Auto V Roleplay Bot",
|
||||
"main": "index.js",
|
||||
"nodemonConfig": {
|
||||
@@ -8,7 +8,8 @@
|
||||
},
|
||||
"scripts": {
|
||||
"start": "node index.js",
|
||||
"dev": "nodemon dev-index.js"
|
||||
"dev": "node dev-index.js",
|
||||
"debug": "nodemon dev-index.js"
|
||||
},
|
||||
"keywords": [
|
||||
"Roleplay",
|
||||
|
||||
Reference in new issue
Block a user