diff --git a/src/bot/components/buttons/test-button.ts b/src/bot/components/buttons/test-button.ts new file mode 100644 index 0000000..7818915 --- /dev/null +++ b/src/bot/components/buttons/test-button.ts @@ -0,0 +1,12 @@ +const { ButtonBuilder, ButtonStyle, Interaction } = require("discord.js"); +const config = require("../../config.ts"); + +module.exports = { + button: new ButtonBuilder() + .setLabel("Poke") + .setCustomId("test-button") + .setStyle(ButtonStyle), + async execute(interaction: typeof Interaction) { + await interaction.reply("hello"); + }, +};