diff --git a/package-lock.json b/package-lock.json index ac55842..b07dc57 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "denim_3001", - "version": "3001.54.1", + "version": "3001.54.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "denim_3001", - "version": "3001.54.1", + "version": "3001.54.2", "license": "ISC", "dependencies": { "@discordjs/voice": "^0.16.0", diff --git a/package.json b/package.json index 00d9a27..ad30d4c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "denim_3001", - "version": "3001.54.1", + "version": "3001.54.2", "description": "Toto je velmi kvalitní bot.", "repository": { "url": "https://github.com/Histmy/Denim-Bot/" diff --git a/src/modules/custom.ts b/src/modules/custom.ts index 1afd8f1..74124ba 100644 --- a/src/modules/custom.ts +++ b/src/modules/custom.ts @@ -281,7 +281,7 @@ const exp: Modul = { fields: [{ name: zacatekNazvu, value: `• ${stranky[0].join("\n• ")}` }] }; - if (celkovadylka <= 1024) return { embeds: [embed] }; + if (stranky.length == 1) return { embeds: [embed] }; embed.fields![0].name += ` (1/${stranky.length})`;