discord.js-selfbot-v13/src/structures/ButtonComponent.js
2022-03-19 17:37:45 +07:00

13 lines
317 B
JavaScript

'use strict';
const { ButtonComponent: BuildersButtonComponent } = require('@discordjs/builders');
const Transformers = require('../util/Transformers');
class ButtonComponent extends BuildersButtonComponent {
constructor(data) {
super(Transformers.toSnakeCase(data));
}
}
module.exports = ButtonComponent;