await defer reply
This commit is contained in:
parent
4e1d52178f
commit
69ab79e930
2
index.js
2
index.js
|
@ -940,7 +940,7 @@ discord.on("interactionCreate", async (interaction) => {
|
||||||
case "setupall":
|
case "setupall":
|
||||||
if (!config.discord.owner) return interaction.reply({ content: "Owner not set in config", ephemeral: true });
|
if (!config.discord.owner) return interaction.reply({ content: "Owner not set in config", ephemeral: true });
|
||||||
if (interaction.user.id !== config.discord.owner) return interaction.reply({ content: "You are not the owner", ephemeral: true });
|
if (interaction.user.id !== config.discord.owner) return interaction.reply({ content: "You are not the owner", ephemeral: true });
|
||||||
interaction.deferReply({ ephemeral: true })
|
await interaction.deferReply({ ephemeral: true })
|
||||||
var category;
|
var category;
|
||||||
|
|
||||||
// Create channels for all rooms
|
// Create channels for all rooms
|
||||||
|
|
Loading…
Reference in a new issue