fix
parent
affb9fbde3
commit
f5bb06d563
|
@ -35,7 +35,7 @@ export default class SysInfo extends Command {
|
|||
objects: number,
|
||||
dataSize: number,
|
||||
} = await mongoose.connections[0].db.command({ dbStats: 1 });
|
||||
const asteriskInformation = await this.client.util.ari.asterisk.getInfo();
|
||||
const asteriskInformation = await this.client.util.pbx.ari.asterisk.getInfo();
|
||||
const redisVersion = await this.client.util.exec('redis-cli info | grep "redis_version"');
|
||||
embed.addField('Database', `- [MongoDB v${mongoBuild.version}](https://www.mongodb.com/) + Documents: ${mongoDatabase.objects} | [Mongoose ODM v${mongooseVersion}](https://github.com/Automattic/mongoose)\n- CR Local Storage w/ GZIP Compression | Internal\n- [Redis v${redisVersion.split(':')[1]}](https://redis.io/) | [IORedis v${ioredisVersion}](https://github.com/luin/ioredis)`, true);
|
||||
embed.addField('Telephony/PBX', `- [Asterisk v${asteriskInformation.system.version}](https://www.asterisk.org/) | [Asterisk ARI Node.js Client v${ariVersion}](https://github.com/asterisk/node-ari-client) & [Asterisk AMI Node.js Client v${amiVersion}](https://github.com/danjenkins/node-asterisk-ami)`, true);
|
||||
|
|
Loading…
Reference in New Issue