discord.js-selfbot-v13/src/structures/ButtonComponent.js

13 lines
317 B
JavaScript
Raw Normal View History

2022-03-19 10:37:45 +00:00
'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;