mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Display links in all embed URLs
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user