UNPKG

@sapphire/framework

Version:

Discord bot framework built for advanced and amazing bots.

13 lines (11 loc) 631 B
import { __name } from '../../chunk-PAWJFY3S.mjs'; import { isTextChannel } from '@sapphire/discord.js-utilities'; import { Identifiers } from '../errors/Identifiers.mjs'; import { resolveGuildChannelPredicate } from '../utils/resolvers/resolveGuildChannelPredicate.mjs'; function resolveGuildTextChannel(parameter, guild) { return resolveGuildChannelPredicate(parameter, guild, isTextChannel, Identifiers.ArgumentGuildTextChannelError); } __name(resolveGuildTextChannel, "resolveGuildTextChannel"); export { resolveGuildTextChannel }; //# sourceMappingURL=guildTextChannel.mjs.map //# sourceMappingURL=guildTextChannel.mjs.map