This commit is contained in:
Christopher Cookman 2024-05-19 10:12:57 -06:00
parent 4ca2435359
commit fdd435c44a
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -1248,6 +1248,7 @@ discord.on("interactionCreate", async (interaction) => {
interaction.editReply({ content: "Failed to get outlook", ephemeral: true });
});
break;
}
case Discord.InteractionType.MessageComponent:
if (interaction.customId) {
const product_id = interaction.customId;
@ -1281,7 +1282,8 @@ discord.on("interactionCreate", async (interaction) => {
break;
}
});
});
discord.on("guildCreate", (guild) => {
// Get the main guild