Skip to content

Commit 60bcb93

Browse files
committed
updated comments for styling
1 parent e899d4e commit 60bcb93

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

discord-bot/app.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,16 @@ function createMessageWithButtons(index, chunks) {
6262
type: 1, // Action Row container for buttons
6363
components: [
6464
{
65-
type: 2, // Button Object
65+
type: 2, // Button
6666
label: 'Previous',
67-
style: 1, // Primary color
67+
style: 1, // Primary color (blurple)
6868
custom_id: `prev_${index}`,
6969
disabled: index === 0, // Disable if on the first chunk
7070
},
7171
{
72-
type: 2, // Button Object
72+
type: 2, // Button
7373
label: 'Next',
74-
style: 1,// Primary color
74+
style: 1,// Primary color (blurple)
7575
custom_id: `next_${index}`,
7676
disabled: index === chunks.length - 1, // Disable if on the last chunk
7777
},

0 commit comments

Comments
 (0)