@sapphire/framework
Version:
Discord bot framework built for advanced and amazing bots.
13 lines (11 loc) • 631 B
JavaScript
import { __name } from '../../chunk-PAWJFY3S.mjs';
import { isNewsChannel } from '@sapphire/discord.js-utilities';
import { Identifiers } from '../errors/Identifiers.mjs';
import { resolveGuildChannelPredicate } from '../utils/resolvers/resolveGuildChannelPredicate.mjs';
function resolveGuildNewsChannel(parameter, guild) {
return resolveGuildChannelPredicate(parameter, guild, isNewsChannel, Identifiers.ArgumentGuildNewsChannelError);
}
__name(resolveGuildNewsChannel, "resolveGuildNewsChannel");
export { resolveGuildNewsChannel };
//# sourceMappingURL=guildNewsChannel.mjs.map
//# sourceMappingURL=guildNewsChannel.mjs.map