nice
This commit is contained in:
parent
e20e7d74c6
commit
dc71b78d2f
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ function notEmpty(str) {
|
|||
}
|
||||
|
||||
function shorten(str) {
|
||||
return str.length <= 20 ? str : str.slice(0, 17) + "...";
|
||||
return str.length <= 20 ? str : `[${str.slice(0, 17)}...](${str})`;
|
||||
}
|
||||
|
||||
const emojis = JSON.parse(readFileSync("config/emojis.json"));
|
||||
|
|
Loading…
Reference in a new issue