We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e899d4e commit 60bcb93Copy full SHA for 60bcb93
discord-bot/app.js
@@ -62,16 +62,16 @@ function createMessageWithButtons(index, chunks) {
62
type: 1, // Action Row container for buttons
63
components: [
64
{
65
- type: 2, // Button Object
+ type: 2, // Button
66
label: 'Previous',
67
- style: 1, // Primary color
+ style: 1, // Primary color (blurple)
68
custom_id: `prev_${index}`,
69
disabled: index === 0, // Disable if on the first chunk
70
},
71
72
73
label: 'Next',
74
- style: 1,// Primary color
+ style: 1,// Primary color (blurple)
75
custom_id: `next_${index}`,
76
disabled: index === chunks.length - 1, // Disable if on the last chunk
77
0 commit comments