fixed interaction not being replied to

This commit is contained in:
Jonathan Barrow 2022-06-02 20:13:40 -04:00
parent 26729f0718
commit 4d58c3e071

View file

@ -32,7 +32,7 @@ async function interactionCreateHander(interaction) {
};
try {
if (interaction.replied) {
if (interaction.replied || interaction.deferred) {
await interaction.editReply(payload);
} else {
await interaction.reply(payload);