2nd commit
This commit is contained in:
21
events/buttons/guilapply.js
Normal file
21
events/buttons/guilapply.js
Normal file
@@ -0,0 +1,21 @@
|
||||
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 });
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user