mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 14:00:22 +02:00
Fix lint
This commit is contained in:
+2
-2
@@ -191,8 +191,8 @@ module.exports = class Util {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
static embedURL(title, url, display) {
|
static embedURL(title, uri, display) {
|
||||||
return `[${title}](${url.replaceAll(')', '%29')}${display ? ` "${display}"` : ''})`;
|
return `[${title}](${uri.replaceAll(')', '%29')}${display ? ` "${display}"` : ''})`;
|
||||||
}
|
}
|
||||||
|
|
||||||
static stripInvites(str, { guild = true, bot = true, text = '[redacted invite]' } = {}) {
|
static stripInvites(str, { guild = true, bot = true, text = '[redacted invite]' } = {}) {
|
||||||
|
|||||||
Reference in New Issue
Block a user