Display links in all embed URLs

This commit is contained in:
Dragon Fire
2020-03-28 21:57:02 -04:00
parent 3ce12b79cd
commit 1c272e3307
17 changed files with 44 additions and 36 deletions
+4
View File
@@ -120,6 +120,10 @@ module.exports = class Util {
return today;
}
static embedURL(title, url, display = url) {
return `[${title}](${url.replace(/\)/g, '%27')}, "${display}")`;
}
static async verify(channel, user, time = 30000) {
const filter = res => {
const value = res.content.toLowerCase();