Files
illegitimate-bot/events/buttons/guilapply.js
2023-03-11 20:16:50 +01:00

21 lines
494 B
JavaScript

const { color } = require('../../options.json');
module.exports = {
name: 'guildapply',
description: 'Guild application button.',
type: 'button',
async execute(interaction) {
const user = interaction.user;
const guild = interaction.guild;
const embedColor = Number(color.replace("#", "0x"));
if (interaction.customId === 'guildapply') {
await interaction.reply({ content: 'Please wait...', ephemeral: true });
}
}
}