embedURL defaulting to url is causing severe length issues

This commit is contained in:
Dragon Fire
2020-04-23 16:36:05 -04:00
parent 5b8acfad8b
commit 4c5d55e1ed
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -146,7 +146,7 @@ module.exports = class Util {
return today;
}
static embedURL(title, url, display = url) {
static embedURL(title, url, display) {
return `[${title}](${url.replace(/\)/g, '%27')}${display ? ` "${display}"` : ''})`;
}