From 7ddccfa5e1882c913f1bbd21e896368d35e9345e Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 18 Apr 2020 18:12:14 -0400 Subject: [PATCH] Disable embed display URLs in changelog --- commands/util/changelog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/util/changelog.js b/commands/util/changelog.js index 7f945a69..d3049c94 100644 --- a/commands/util/changelog.js +++ b/commands/util/changelog.js @@ -34,8 +34,8 @@ module.exports = class ChangelogCommand extends Command { .setColor(0x7289DA) .setURL(`https://github.com/${XIAO_GITHUB_REPO_USERNAME}/${XIAO_GITHUB_REPO_NAME}/commits/master`) .setDescription(commits.map(commit => { - const hash = embedURL(`\`${commit.sha.slice(0, 7)}\``, commit.html_url); - return `${hash} ${shorten(commit.commit.message.split('\n')[0], 25)} - ${commit.author.login}`; + const hash = embedURL(`\`${commit.sha.slice(0, 7)}\``, commit.html_url, false); + return `${hash} ${shorten(commit.commit.message.split('\n')[0], 50)} - ${commit.author.login}`; }).join('\n')); return msg.embed(embed); }