diff --git a/commands/fun/4chan.js b/commands/fun/4chan.js index cce9af45..83b345fa 100644 --- a/commands/fun/4chan.js +++ b/commands/fun/4chan.js @@ -4,7 +4,7 @@ import TurndownService from 'turndown'; const turndown = new TurndownService(); import fetch from 'node-fetch'; -import fourChan from '../../json/4chan.json' assert {type: 'json'}; +import fourChan from '../../json/4chan.json' with {type: 'json'}; export default { data: new SlashCommandBuilder() diff --git a/commands/fun/tweet.js b/commands/fun/tweet.js index 9fda9ab0..abef1295 100644 --- a/commands/fun/tweet.js +++ b/commands/fun/tweet.js @@ -8,7 +8,7 @@ import util from 'node:util'; import stream from 'node:stream'; import db from '../../models/index.js'; -import wordToCensor from '../../json/censor.json' assert {type: 'json'}; +import wordToCensor from '../../json/censor.json' with {type: 'json'}; const { twiConsumer, twiConsumerSecret, twiToken, twiTokenSecret, twiChannel, twiLogChannel } = process.env; const Blacklists = db.Blacklists; diff --git a/commands/utility/donate.js b/commands/utility/donate.js index b45db5ff..0ecfe2fe 100644 --- a/commands/utility/donate.js +++ b/commands/utility/donate.js @@ -1,6 +1,6 @@ import { SlashCommandBuilder } from 'discord.js'; import { EmbedBuilder } from 'discord.js'; -import donations from '../../json/donations.json' assert {type: 'json'}; +import donations from '../../json/donations.json' with {type: 'json'}; export default { data: new SlashCommandBuilder() diff --git a/events/client/status.js b/events/client/status.js index e5498a1b..52316af6 100644 --- a/events/client/status.js +++ b/events/client/status.js @@ -1,7 +1,7 @@ import { ActivityType } from 'discord.js'; -import game from '../../json/playing.json' assert {type: 'json'}; -import music from '../../json/listening.json' assert {type: 'json'}; -import watch from '../../json/watching.json' assert {type: 'json'}; +import game from '../../json/playing.json' with {type: 'json'}; +import music from '../../json/listening.json' with {type: 'json'}; +import watch from '../../json/watching.json' with {type: 'json'}; export default { name: 'ready',