From f5bb06d563a630df881bdaeeb50dadfa21f45d36 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Wed, 2 Dec 2020 19:24:56 -0500 Subject: [PATCH] fix --- src/commands/sysinfo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/sysinfo.ts b/src/commands/sysinfo.ts index 22943c0..5059515 100644 --- a/src/commands/sysinfo.ts +++ b/src/commands/sysinfo.ts @@ -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);