Skip to main content

Function: resolveGuildTextChannel()

resolveGuildTextChannel(parameter: string, guild: Guild): Result<TextChannel, Identifiers.ArgumentGuildChannelError | Identifiers.ArgumentGuildTextChannelError>

Parameters

ParameterType
parameterstring
guildGuild

Returns

Result<TextChannel, Identifiers.ArgumentGuildChannelError | Identifiers.ArgumentGuildTextChannelError>

Defined in

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