diff --git a/commands/games-mp/apples-to-apples.js b/commands/games-mp/apples-to-apples.js index 7c65d25b..ef1f2b54 100644 --- a/commands/games-mp/apples-to-apples.js +++ b/commands/games-mp/apples-to-apples.js @@ -1,5 +1,5 @@ const Command = require('../../framework/Command'); -const { escapeMarkdown } = require('discord.js'); +const { Util: { escapeMarkdown } } = require('discord.js'); const { stripIndents } = require('common-tags'); const { shuffle } = require('../../util/Util'); const Game = require('../../structures/cards-against-humanity/Game'); diff --git a/commands/games-mp/cards-against-humanity.js b/commands/games-mp/cards-against-humanity.js index cb7acb8c..e7a03d06 100644 --- a/commands/games-mp/cards-against-humanity.js +++ b/commands/games-mp/cards-against-humanity.js @@ -1,5 +1,5 @@ const Command = require('../../framework/Command'); -const { escapeMarkdown } = require('discord.js'); +const { Util: { escapeMarkdown } } = require('discord.js'); const { stripIndents } = require('common-tags'); const { shuffle } = require('../../util/Util'); const Game = require('../../structures/cards-against-humanity/Game'); diff --git a/commands/games-sp/tarot.js b/commands/games-sp/tarot.js index d3b086de..d4780ed0 100644 --- a/commands/games-sp/tarot.js +++ b/commands/games-sp/tarot.js @@ -1,5 +1,5 @@ const Command = require('../../framework/Command'); -const { escapeMarkdown } = require('discord.js'); +const { Util: { escapeMarkdown } } = require('discord.js'); const { stripIndents } = require('common-tags'); const { list, verify } = require('../../util/Util'); const TarotDeck = require('../../structures/tarot/TarotDeck'); diff --git a/commands/other/kino.js b/commands/other/kino.js index 8ce3d8b3..881202b3 100644 --- a/commands/other/kino.js +++ b/commands/other/kino.js @@ -1,7 +1,7 @@ const Command = require('../../framework/Command'); const { MessageActionRow, MessageButton } = require('discord.js'); const { stripIndents } = require('common-tags'); -const { escapeMarkdown } = require('discord.js'); +const { Util: { escapeMarkdown } } = require('discord.js'); const path = require('path'); const fs = require('fs'); const { readFile } = require('fs/promises'); diff --git a/structures/cards-against-humanity/Player.js b/structures/cards-against-humanity/Player.js index d8598f78..7cfb1166 100644 --- a/structures/cards-against-humanity/Player.js +++ b/structures/cards-against-humanity/Player.js @@ -1,5 +1,5 @@ const { stripIndents } = require('common-tags'); -const { escapeMarkdown } = require('discord.js'); +const { Util: { escapeMarkdown } } = require('discord.js'); const { reactIfAble } = require('../../util/Util'); const { SUCCESS_EMOJI_ID, FAILURE_EMOJI_ID } = process.env;