mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix Embed URLs
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "113.0.0",
|
||||
"version": "113.0.1",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
+1
-1
@@ -123,7 +123,7 @@ module.exports = class Util {
|
||||
}
|
||||
|
||||
static embedURL(title, url, display = url) {
|
||||
return `[${title}](${url.replace(/\)/g, '%27')}${display ? `, "${display}"` : ''})`;
|
||||
return `[${title}](${url.replace(/\)/g, '%27')}${display ? ` "${display}"` : ''})`;
|
||||
}
|
||||
|
||||
static async verify(channel, user, { time = 30000, extraYes = [], extraNo = [] } = {}) {
|
||||
|
||||
Reference in New Issue
Block a user