pull/29/head
Matthew 2020-12-24 21:56:59 -05:00
parent f4c4b37f22
commit bd53601754
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
2 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,7 @@ export default class Info extends Command {
embed.addField('Memory Usage', `${Math.round(process.memoryUsage().rss / 1024 / 1024)} MB / ${Math.round(totalmem() / 1024 / 1024 / 1024)} GB`, true);
embed.addField('Repository', 'https://loc.sh/crgit | Licensed under GNU Affero General Public License V3', true);
embed.addField('Branch', await this.client.util.exec('git rev-parse --abbrev-ref HEAD'), true);
embed.addField('Commit SHA', await this.client.util.exec('git rev-parse --short HEAD'), true);
embed.addField('Commit Link', `https://gitlab.libraryofcode.org/engineering/communityrelations/-/commit/${await this.client.util.exec('git rev-parse HEAD')}`, true);
embed.addField('Commit', `[${await this.client.util.exec('git rev-parse --short HEAD')}](${await this.client.util.exec('git rev-parse HEAD')})`, true);
embed.setFooter(this.client.user.username, this.client.user.avatarURL);
embed.setTimestamp();
message.channel.createMessage({ embed });

View File

@ -141,6 +141,7 @@ export default class TLS extends Command {
embed.addField('TLS Version', resp.connection.tlsVersion, true);
embed.setFooter(this.client.user.username, this.client.user.avatarURL);
embed.setTimestamp();
return message.channel.createMessage({ embed });
} catch (err) {