mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 10:25:11 +02:00
Fix Embed URLs
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiao",
|
"name": "xiao",
|
||||||
"version": "113.0.0",
|
"version": "113.0.1",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Xiao.js",
|
"main": "Xiao.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
+1
-1
@@ -123,7 +123,7 @@ module.exports = class Util {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static embedURL(title, url, display = url) {
|
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 = [] } = {}) {
|
static async verify(channel, user, { time = 30000, extraYes = [], extraNo = [] } = {}) {
|
||||||
|
|||||||
Reference in New Issue
Block a user