mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
embedURL defaulting to url is causing severe length issues
This commit is contained in:
@@ -76,7 +76,7 @@ don't grant that permission.
|
||||
|
||||
## Fun Information
|
||||
- 400+ Commands
|
||||
- 19,000+ lines of JavaScript
|
||||
- 20,000+ lines of JavaScript
|
||||
- 61,000+ lines of JSON data
|
||||
- 3 years of development
|
||||
- 3,000+ commits
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "113.15.0",
|
||||
"version": "113.15.1",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
+1
-1
@@ -146,7 +146,7 @@ module.exports = class Util {
|
||||
return today;
|
||||
}
|
||||
|
||||
static embedURL(title, url, display = url) {
|
||||
static embedURL(title, url, display) {
|
||||
return `[${title}](${url.replace(/\)/g, '%27')}${display ? ` "${display}"` : ''})`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user