Updating to add defer reply

This commit is contained in:
2023-03-19 13:53:00 +01:00
parent 02ae88ad64
commit c9cc8e4e52
5 changed files with 20 additions and 14 deletions

View File

@@ -16,7 +16,7 @@ module.exports = {
const channel = interaction.channel;
const applicantId = await channel.topic
const filePath = path.join(__dirname, `../../applications/${applicantId}`);
const filePath = path.join(__dirname, `../../apps/guild/${applicantId}`);
const uuid = fs.readFileSync(filePath, 'utf8');
@@ -42,7 +42,7 @@ module.exports = {
return
}
await interaction.reply({
await interaction.editReply({
embeds: [{
title: stats.data.username,
description: "**Network Level:** `" + stats.data.level.toString() + "`\n" +