update info cmd
parent
c3dea5b1df
commit
7fb0e2e733
|
@ -4,6 +4,7 @@ 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';
|
||||
import { version as tsVersion } from '../../node_modules/typescript/package.json';
|
||||
|
||||
export default class Info extends Command {
|
||||
constructor(client: Client) {
|
||||
|
@ -21,6 +22,8 @@ export default class Info extends Command {
|
|||
embed.setTitle('Information');
|
||||
embed.setThumbnail(this.client.user.avatarURL);
|
||||
embed.addField('Language(s)', '<:TypeScript:703451285789343774> TypeScript', true);
|
||||
embed.addField('Runtime', `Node (${process.version})`, true);
|
||||
embed.addField('Compilers/Transpilers', `TypeScript [tsc] (${tsVersion})`, 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);
|
||||
|
|
Loading…
Reference in New Issue