Skip to content

Commit

Permalink
Update interactionUpdate.js
Browse files Browse the repository at this point in the history
  • Loading branch information
devlordduck authored Dec 3, 2023
1 parent d03aa03 commit 5b15dbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/functions/event/interactionUpdate.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ module.exports = async d => {

const Checker = (theparts, name) => theparts.includes("{" + name + ":");

embeds = await d.util.parsers.parsers.EmbedParser.code(d, { part: embeds, Checker });
embeds = await d.util.parsers.EmbedParser.code(d, { part: embeds, Checker });

components = await d.util.parsers.parsers.ComponentParser.code(d, { part: components, Checker });
components = await d.util.parsers.ComponentParser.code(d, { part: components, Checker });

files = await d.util.parsers.parsers.FileParser.code(d, { part: files, Checker });
files = await d.util.parsers.FileParser.code(d, { part: files, Checker });

await d.data.interaction?.update({
content: content.trim() === "" ? " " : content.addBrackets(),
Expand Down

0 comments on commit 5b15dbd

Please sign in to comment.