Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: isJSONEncodable doesn't belong to discord.js #497

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/discord.js-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"access": "public"
},
"dependencies": {
"@discordjs/util": "^0.1.0",
"@sapphire/discord-utilities": "workspace:^",
"@sapphire/duration": "workspace:^",
"@sapphire/utilities": "workspace:^",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
IntentsBitField,
InteractionCollector,
InteractionType,
isJSONEncodable,
Partials,
SelectMenuBuilder,
userMention,
Expand All @@ -29,6 +28,7 @@ import {
type User,
type WebhookEditMessageOptions
} from 'discord.js';
import { isJSONEncodable } from '@discordjs/util';
import { MessageBuilder } from '../builders/MessageBuilder';
import { isAnyInteraction, isGuildBasedChannel, isMessageInstance } from '../type-guards';
import type { AnyInteractableInteraction } from '../utility-types';
Expand Down
8 changes: 8 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,13 @@ __metadata:
languageName: node
linkType: hard

"@discordjs/util@npm:^0.1.0":
version: 0.1.0
resolution: "@discordjs/util@npm:0.1.0"
checksum: 880e15cd761437a21cf17b8a9dab50e7e5418fcc77dc34037c31a52b871fab1b958218ab6218aafd20af8b7a4e658a705d3f257268324773a285d9a06368c1b9
languageName: node
linkType: hard

"@esbuild/android-arm@npm:0.15.10":
version: 0.15.10
resolution: "@esbuild/android-arm@npm:0.15.10"
Expand Down Expand Up @@ -601,6 +608,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@sapphire/discord.js-utilities@workspace:packages/discord.js-utilities"
dependencies:
"@discordjs/util": ^0.1.0
"@favware/cliff-jumper": ^1.8.8
"@favware/rollup-type-bundler": ^1.0.11
"@sapphire/discord-utilities": "workspace:^"
Expand Down