diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-12-13 20:22:20 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-12-13 20:22:20 -0500 |
commit | 9f705a0e5a90177784d45d20200dbaa46a569e78 (patch) | |
tree | 15390ea91d0ff3c3912be2b8cbe354f8703bb652 /src/commands/info | |
parent | 2d6bb50ce8c979e543f0d2831b3db9d8644be477 (diff) | |
download | tanzanite-9f705a0e5a90177784d45d20200dbaa46a569e78.tar.gz tanzanite-9f705a0e5a90177784d45d20200dbaa46a569e78.tar.bz2 tanzanite-9f705a0e5a90177784d45d20200dbaa46a569e78.zip |
fix more bugs
Diffstat (limited to 'src/commands/info')
-rw-r--r-- | src/commands/info/help.ts | 2 | ||||
-rw-r--r-- | src/commands/info/links.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/info/help.ts b/src/commands/info/help.ts index 455ad5f..eac48a6 100644 --- a/src/commands/info/help.ts +++ b/src/commands/info/help.ts @@ -1,7 +1,7 @@ import { BushCommand, BushMessage, BushSlashMessage } from '#lib'; import { MessageActionRow, MessageButton, MessageEmbed } from 'discord.js'; -const packageDotJSON = await import('../../../package.json').catch(() => null); +const packageDotJSON = await import('../../../package.json', { assert: { type: 'json' } }).catch(() => null); export default class HelpCommand extends BushCommand { public constructor() { diff --git a/src/commands/info/links.ts b/src/commands/info/links.ts index 3f82245..79f1041 100644 --- a/src/commands/info/links.ts +++ b/src/commands/info/links.ts @@ -1,6 +1,6 @@ import { BushCommand, type BushMessage, type BushSlashMessage } from '#lib'; import { MessageActionRow, MessageButton } from 'discord.js'; -import packageDotJSON from '../../../package.json'; +import packageDotJSON from '../../../package.json' assert { type: 'json' }; export default class LinksCommand extends BushCommand { public constructor() { |