UNPKG

@sapphire/framework

Version:

Discord bot framework built for advanced and amazing bots.

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