Skip to content

Commit e42bca9

Browse files
Update src/deepmind-watch.js
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 83512e3 commit e42bca9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/deepmind-watch.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ function createNewCardsEmbed(newCards) {
182182

183183
for (let i = 0; i < newCards.length; i += maxPerField) {
184184
const chunk = newCards.slice(i, i + maxPerField);
185+
for (let i = 0; i < newCards.length; i += 5) {
186+
const chunk = newCards.slice(i, i + 5);
185187
const cardList = chunk.map(c => c.url).join('\n');
186188
const label = newCards.length > maxPerField
187189
? `New Cards (${i + 1}-${Math.min(i + maxPerField, newCards.length)})`

0 commit comments

Comments
 (0)