Skip to main content

Function: resolveGuildNewsChannel()

resolveGuildNewsChannel(parameter: string, guild: Guild): Result<NewsChannel, Identifiers.ArgumentGuildChannelError | Identifiers.ArgumentGuildNewsChannelError>

Parameters

ParameterType
parameterstring
guildGuild

Returns

Result<NewsChannel, Identifiers.ArgumentGuildChannelError | Identifiers.ArgumentGuildNewsChannelError>

Defined in

projects/framework/src/lib/resolvers/guildNewsChannel.ts:7