UNPKG

@sapphire/framework

Version:

Discord bot framework built for advanced and amazing bots.

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