Fix Embed URLs

This commit is contained in:
Dragon Fire
2020-04-13 11:30:07 -04:00
parent 710d19ca89
commit d8d734cb28
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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 = [] } = {}) {