update/better bot stats
This commit is contained in:
1 file changed
+1
-2
+1
-2
@@ -20,8 +20,7 @@ module.exports = {
|
|||||||
* @param {*} param3
|
* @param {*} param3
|
||||||
*/
|
*/
|
||||||
run: async (client, interaction, args, { GuildDB }, start) => {
|
run: async (client, interaction, args, { GuildDB }, start) => {
|
||||||
let packageDir = path.join(__dirname, '..', 'package.json');
|
let package = JSON.parse(fs.readFileSync('../package.json'));
|
||||||
let package = JSON.parse(fs.readFileSync(packageDir));
|
|
||||||
|
|
||||||
const end = new Date().getTime();
|
const end = new Date().getTime();
|
||||||
const stats = new EmbedBuilder()
|
const stats = new EmbedBuilder()
|
||||||
|
|||||||
Reference in new issue
Block a user