This commit is contained in:
Ashley Graves 2024-10-16 01:28:16 +02:00
parent e20e7d74c6
commit dc71b78d2f

View file

@ -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"));