diff --git a/package.json b/package.json index 26157f1eb..342badf09 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ }, "dependencies": { "@sapphire/discord-utilities": "^2.0.1", + "@sapphire/discord.js-utilities": "^1.2.0", "@sapphire/pieces": "^1.1.0", "@sapphire/ratelimits": "^1.1.4", "@sapphire/utilities": "^1.4.3", diff --git a/src/arguments/CoreDMChannel.ts b/src/arguments/CoreDMChannel.ts index da48ae4c9..8d44abac1 100644 --- a/src/arguments/CoreDMChannel.ts +++ b/src/arguments/CoreDMChannel.ts @@ -1,4 +1,4 @@ -import { isDMChannel } from '@sapphire/discord-utilities'; +import { isDMChannel } from '@sapphire/discord.js-utilities'; import type { PieceContext } from '@sapphire/pieces'; import type { DMChannel } from 'discord.js'; import { Argument, ArgumentResult } from '../lib/structures/Argument'; diff --git a/src/arguments/CoreMessage.ts b/src/arguments/CoreMessage.ts index d4953cce8..fcc98cb98 100644 --- a/src/arguments/CoreMessage.ts +++ b/src/arguments/CoreMessage.ts @@ -1,4 +1,4 @@ -import { isNewsChannel, isTextChannel, MessageLinkRegex, SnowflakeRegex } from '@sapphire/discord-utilities'; +import { isNewsChannel, isTextChannel, MessageLinkRegex, SnowflakeRegex } from '@sapphire/discord.js-utilities'; import type { PieceContext } from '@sapphire/pieces'; import { DMChannel, Message, NewsChannel, Permissions, TextChannel } from 'discord.js'; import { Argument, ArgumentContext, AsyncArgumentResult } from '../lib/structures/Argument'; diff --git a/src/arguments/CoreNewsChannel.ts b/src/arguments/CoreNewsChannel.ts index 4881e0d3f..337bbf9cf 100644 --- a/src/arguments/CoreNewsChannel.ts +++ b/src/arguments/CoreNewsChannel.ts @@ -1,4 +1,4 @@ -import { isNewsChannel } from '@sapphire/discord-utilities'; +import { isNewsChannel } from '@sapphire/discord.js-utilities'; import type { PieceContext } from '@sapphire/pieces'; import type { GuildChannel, NewsChannel } from 'discord.js'; import type { ArgumentResult } from '../lib/structures/Argument'; diff --git a/src/arguments/CoreTextChannel.ts b/src/arguments/CoreTextChannel.ts index 873e511ec..ea47ed6ae 100644 --- a/src/arguments/CoreTextChannel.ts +++ b/src/arguments/CoreTextChannel.ts @@ -1,4 +1,4 @@ -import { isTextChannel } from '@sapphire/discord-utilities'; +import { isTextChannel } from '@sapphire/discord.js-utilities'; import type { PieceContext } from '@sapphire/pieces'; import type { GuildChannel, TextChannel } from 'discord.js'; import type { ArgumentResult } from '../lib/structures/Argument'; diff --git a/src/arguments/CoreVoiceChannel.ts b/src/arguments/CoreVoiceChannel.ts index 8cfb49fc2..2ebf71a66 100644 --- a/src/arguments/CoreVoiceChannel.ts +++ b/src/arguments/CoreVoiceChannel.ts @@ -1,4 +1,4 @@ -import { isVoiceChannel } from '@sapphire/discord-utilities'; +import { isVoiceChannel } from '@sapphire/discord.js-utilities'; import type { PieceContext } from '@sapphire/pieces'; import type { GuildChannel, VoiceChannel } from 'discord.js'; import type { ArgumentResult } from '../lib/structures/Argument'; diff --git a/yarn.lock b/yarn.lock index 03946ad4c..d41ea63bb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -666,6 +666,13 @@ dependencies: twemoji-parser "^13.0.0" +"@sapphire/discord.js-utilities@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@sapphire/discord.js-utilities/-/discord.js-utilities-1.2.0.tgz#0ec4c162d371de022e6ebeca86ba86e2d5fb4ed1" + integrity sha512-0EXzqrzVS9iTdcood1BkXG7X5jkgkZj2UigGw2Y8SvaqSVJm5l+gY8QPDTkr9S90ULPep/+w3ce9Ox/ovMiaCQ== + dependencies: + "@sapphire/discord-utilities" "^2.0.1" + "@sapphire/eslint-config@^2.1.0": version "2.1.0" resolved "https://registry.yarnpkg.com/@sapphire/eslint-config/-/eslint-config-2.1.0.tgz#bce6ad2779783d16e12b0f7f2150342ae41f291d"