Skip to content

Commit 96c5a19

Browse files
committed
remove logging and add start for pm2
1 parent 64e89ef commit 96c5a19

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

commands/info/chart.js

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ module.exports = {
1010
async execute(client, message, args) {
1111
const myChart = new QuickChart();
1212
const data = client.cache;
13-
console.log(data);
1413
myChart.setWidth(1600);
1514
myChart.setHeight(1200);
1615
myChart.setBackgroundColor('rgb(29, 29, 29)');

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"main": "index.js",
55
"scripts": {
66
"test": "echo \"Error: no test specified\" && exit 1",
7-
"start": "node index.js"
7+
"start": "node index.js",
8+
"pm2Start": "pm2 start index.js -n RPi-Watcher"
89
},
910
"keywords": [],
1011
"author": "",
@@ -22,4 +23,4 @@
2223
"uuid": "^7.0.3",
2324
"ws": ">=7.4.6"
2425
}
25-
}
26+
}

0 commit comments

Comments
 (0)