Merge branch 'f0ckdev' into 'master'
neuer texd für stats See merge request !38
This commit is contained in:
commit
22aa0f2df7
@ -8,7 +8,7 @@ module.exports = (lib) => {
|
|||||||
active: 1,
|
active: 1,
|
||||||
func: (e) => {
|
func: (e) => {
|
||||||
lib.sql.query("select count(`id`) as anzahl from `f0ck`.`items`", (err, rows, fields) => {
|
lib.sql.query("select count(`id`) as anzahl from `f0ck`.`items`", (err, rows, fields) => {
|
||||||
var ret = "f0cked "+String(rows[0].anzahl);
|
var ret = "f0ck gave "+String(rows[0].anzahl);
|
||||||
du('./b/', function (err, size) {
|
du('./b/', function (err, size) {
|
||||||
ret += " f0cks ("+lib.formatSize(size)+")";
|
ret += " f0cks ("+lib.formatSize(size)+")";
|
||||||
e.reply(ret);
|
e.reply(ret);
|
||||||
@ -17,4 +17,4 @@ module.exports = (lib) => {
|
|||||||
},
|
},
|
||||||
desc: 'stats'
|
desc: 'stats'
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user