Skip to content

Commit baa9275

Browse files
committed
Fixed a bug with isDisabled undefined
1 parent 345d36e commit baa9275

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/Utils/setupMessage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ module.exports = (settings, ephemeral = false, components = null) => {
324324
}
325325
if (Label) button.setLabel(Label);
326326
if (Emoji) button.setEmoji(Emoji);
327-
if (isDisabled) button.setDisabled(true);
327+
if (Disabled) button.setDisabled(true);
328328

329329
rows[i].addComponents([button]);
330330
}

0 commit comments

Comments
 (0)