UNPKG

@sapphire/framework

Version:

Discord bot framework built for advanced and amazing bots.

12 lines (10 loc) 548 B
import { Identifiers } from "../errors/Identifiers.mjs"; import { resolveGuildChannelPredicate } from "../utils/resolvers/resolveGuildChannelPredicate.mjs"; import { isThreadChannel } from "@sapphire/discord.js-utilities"; //#region src/lib/resolvers/guildThreadChannel.ts function resolveGuildThreadChannel(parameter, guild) { return resolveGuildChannelPredicate(parameter, guild, isThreadChannel, Identifiers.ArgumentGuildThreadChannelError); } //#endregion export { resolveGuildThreadChannel }; //# sourceMappingURL=guildThreadChannel.mjs.map