From 7e7bc2a404f8ac1fb2b8eb3a20b4b219c878c14f Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sat, 27 Jun 2020 23:51:15 -0400 Subject: [PATCH] add express version to info cmd --- src/commands/info.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commands/info.ts b/src/commands/info.ts index 278c9f9..0015822 100644 --- a/src/commands/info.ts +++ b/src/commands/info.ts @@ -2,6 +2,7 @@ import { Message } from 'eris'; import { totalmem } from 'os'; import { Client, Command, RichEmbed } from '../class'; import { version as erisVersion } from '../../node_modules/eris/package.json'; +import { version as expressVersion } from '../../node_modules/express/package.json'; import { version as mongooseVersion } from '../../node_modules/mongoose/package.json'; export default class Info extends Command { @@ -21,6 +22,7 @@ export default class Info extends Command { embed.setThumbnail(this.client.user.avatarURL); embed.addField('Language(s)', '<:TypeScript:703451285789343774> TypeScript', true); embed.addField('Discord Library', `Eris (${erisVersion})`, true); + embed.addField('HTTP Server Library', `Express (${expressVersion})`, true); embed.addField('Database Library', `MongoDB w/ Mongoose ODM (${mongooseVersion})`, true); embed.addField('Repository', 'https://gitlab.libraryofcode.org/engineering/communityrelations | Licensed under GNU Affero General Public License V3', true); embed.addField('Memory Usage', `${Math.round(process.memoryUsage().rss / 1024 / 1024)} MB / ${Math.round(totalmem() / 1024 / 1024 / 1024)} GB`, true);