Adding staff apply
This commit is contained in:
@@ -8,8 +8,6 @@ module.exports = {
|
||||
|
||||
async execute(interaction) {
|
||||
|
||||
await interaction.deferReply();
|
||||
|
||||
const user = interaction.user;
|
||||
const channel = interaction.channel;
|
||||
const guild = interaction.guild;
|
||||
@@ -26,8 +24,6 @@ module.exports = {
|
||||
}]
|
||||
});
|
||||
|
||||
// fetch the first message in the channel and disable the buttons on it
|
||||
|
||||
const message = await channel.messages.fetch({ limit: 1 });
|
||||
const messageID = message.first().id;
|
||||
|
||||
@@ -61,9 +57,9 @@ module.exports = {
|
||||
|
||||
});
|
||||
|
||||
await interaction.editReply({
|
||||
await interaction.reply({
|
||||
embeds: [{
|
||||
title: applicantUsername + " - Application",
|
||||
title: applicantUsername + " - Guild Application",
|
||||
description: "Application accepted by <@" + user.id + ">.\n\nPress the button below to delete this channel.\n**When the user is added to the guild.**",
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
|
||||
Reference in New Issue
Block a user