Skip to content

Commit 37f1465

Browse files
committed
initialize chunks with an empty value
1 parent 9bf9af9 commit 37f1465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord-bot/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { getRandomEmoji } from './utils.js';
1616

1717
// Global Variables:
1818
let currentIndex = 0; // Current page index of the bot's response
19-
let chunks; // Message chunks (used when the response exceeds the character limit)
19+
let chunks = []; // Message chunks (used when the response exceeds the character limit)
2020
let dotInterval = null;
2121

2222
// Create an express app

0 commit comments

Comments
 (0)