Skip to main content

disableButtons

Disable all buttons in a message

Implementation

simplydjs.disableButtons(components)

Types

simplydjs.disableButtons(components: ActionRowBuilder<ButtonBuilder>[])

Example

disable.js
const simplydjs = require('simply-djs')

simplydjs.disableButtons(message.components)