diff --git a/src/commands/info.ts b/src/commands/info.ts index cb455d4..fae9c4b 100644 --- a/src/commands/info.ts +++ b/src/commands/info.ts @@ -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 }); diff --git a/src/commands/tls.ts b/src/commands/tls.ts index 3c7b062..ddfe0c9 100644 --- a/src/commands/tls.ts +++ b/src/commands/tls.ts @@ -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) {