Skip to content

Commit

Permalink
fix: modals
Browse files Browse the repository at this point in the history
  • Loading branch information
Faf4a committed Feb 3, 2024
1 parent f125eee commit ea048b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/handler/NonIntents/interaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ module.exports = async (interaction, client) => {
);
}
} else if (type === "modal") {
cmds = client.cmd.interaction.modal.filterArray(
cmds = client.cmd.interaction.modal.filter(
(x) => x.name === interaction.customId,
);
).V();
if (!cmds.length) return;
const data = {
client: client,
Expand Down

0 comments on commit ea048b5

Please sign in to comment.