Skip to main content

Namespace: Resolvers

Functions

resolveBoolean

โ–ธ resolveBoolean(parameter, customs?): Result<boolean, ArgumentBooleanError>

Parameters

NameType
parameterstring
customs?Object
customs.falses?string[]
customs.truths?string[]

Returns

Result<boolean, ArgumentBooleanError>

Defined in

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


resolveChannel

โ–ธ resolveChannel(parameter, message): Result<ChannelTypes, ArgumentChannelError>

Parameters

NameType
parameterstring
messageMessage<boolean>

Returns

Result<ChannelTypes, ArgumentChannelError>

Defined in

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


resolveDMChannel

โ–ธ resolveDMChannel(parameter, message): Result<DMChannel, ArgumentChannelError | ArgumentDMChannelError>

Parameters

NameType
parameterstring
messageMessage<boolean>

Returns

Result<DMChannel, ArgumentChannelError | ArgumentDMChannelError>

Defined in

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


resolveDate

โ–ธ resolveDate(parameter, options?): Result<Date, ArgumentDateError | ArgumentDateTooEarly | ArgumentDateTooFar>

Parameters

NameType
parameterstring
options?Object
options.maximum?number
options.minimum?number

Returns

Result<Date, ArgumentDateError | ArgumentDateTooEarly | ArgumentDateTooFar>

Defined in

projects/framework/src/lib/resolvers/date.ts:4


resolveFloat

โ–ธ resolveFloat(parameter, options?): Result<number, ArgumentFloatError | ArgumentFloatTooSmall | ArgumentFloatTooLarge>

Parameters

NameType
parameterstring
options?Object
options.maximum?number
options.minimum?number

Returns

Result<number, ArgumentFloatError | ArgumentFloatTooSmall | ArgumentFloatTooLarge>

Defined in

projects/framework/src/lib/resolvers/float.ts:4


resolveGuildCategoryChannel

โ–ธ resolveGuildCategoryChannel(parameter, guild): Result<CategoryChannel, ArgumentGuildChannelError | ArgumentGuildCategoryChannelError>

Parameters

NameType
parameterstring
guildGuild

Returns

Result<CategoryChannel, ArgumentGuildChannelError | ArgumentGuildCategoryChannelError>

Defined in

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


resolveGuildChannel

โ–ธ resolveGuildChannel(parameter, guild): Result<GuildBasedChannelTypes, ArgumentGuildChannelError>

Parameters

NameType
parameterstring
guildGuild

Returns

Result<GuildBasedChannelTypes, ArgumentGuildChannelError>

Defined in

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


resolveGuildNewsChannel

โ–ธ resolveGuildNewsChannel(parameter, guild): Result<NewsChannel, ArgumentGuildChannelError | ArgumentGuildNewsChannelError>

Parameters

NameType
parameterstring
guildGuild

Returns

Result<NewsChannel, ArgumentGuildChannelError | ArgumentGuildNewsChannelError>

Defined in

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


resolveGuildNewsThreadChannel

โ–ธ resolveGuildNewsThreadChannel(parameter, guild): Result<ThreadChannel, ArgumentGuildChannelError | ArgumentGuildThreadChannelError | ArgumentGuildNewsThreadChannelError>

Parameters

NameType
parameterstring
guildGuild

Returns

Result<ThreadChannel, ArgumentGuildChannelError | ArgumentGuildThreadChannelError | ArgumentGuildNewsThreadChannelError>

Defined in

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


resolveGuildPrivateThreadChannel

โ–ธ resolveGuildPrivateThreadChannel(parameter, guild): Result<ThreadChannel, ArgumentGuildChannelError | ArgumentGuildThreadChannelError | ArgumentGuildPrivateThreadChannelError>

Parameters

NameType
parameterstring
guildGuild

Returns

Result<ThreadChannel, ArgumentGuildChannelError | ArgumentGuildThreadChannelError | ArgumentGuildPrivateThreadChannelError>

Defined in

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


resolveGuildPublicThreadChannel

โ–ธ resolveGuildPublicThreadChannel(parameter, guild): Result<ThreadChannel, ArgumentGuildChannelError | ArgumentGuildThreadChannelError | ArgumentGuildPublicThreadChannelError>

Parameters

NameType
parameterstring
guildGuild

Returns

Result<ThreadChannel, ArgumentGuildChannelError | ArgumentGuildThreadChannelError | ArgumentGuildPublicThreadChannelError>

Defined in

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


resolveGuildStageVoiceChannel

โ–ธ resolveGuildStageVoiceChannel(parameter, guild): Result<StageChannel, ArgumentGuildChannelError | ArgumentGuildStageVoiceChannelError>

Parameters

NameType
parameterstring
guildGuild

Returns

Result<StageChannel, ArgumentGuildChannelError | ArgumentGuildStageVoiceChannelError>

Defined in

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


resolveGuildTextChannel

โ–ธ resolveGuildTextChannel(parameter, guild): Result<TextChannel, ArgumentGuildChannelError | ArgumentGuildTextChannelError>

Parameters

NameType
parameterstring
guildGuild

Returns

Result<TextChannel, ArgumentGuildChannelError | ArgumentGuildTextChannelError>

Defined in

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


resolveGuildThreadChannel

โ–ธ resolveGuildThreadChannel(parameter, guild): Result<ThreadChannel, ArgumentGuildChannelError | ArgumentGuildThreadChannelError>

Parameters

NameType
parameterstring
guildGuild

Returns

Result<ThreadChannel, ArgumentGuildChannelError | ArgumentGuildThreadChannelError>

Defined in

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


resolveGuildVoiceChannel

โ–ธ resolveGuildVoiceChannel(parameter, guild): Result<VoiceChannel, ArgumentGuildChannelError | ArgumentGuildVoiceChannelError>

Parameters

NameType
parameterstring
guildGuild

Returns

Result<VoiceChannel, ArgumentGuildChannelError | ArgumentGuildVoiceChannelError>

Defined in

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


โ–ธ resolveHyperlink(parameter): Result<URL, ArgumentHyperlinkError>

Parameters

NameType
parameterstring

Returns

Result<URL, ArgumentHyperlinkError>

Defined in

projects/framework/src/lib/resolvers/hyperlink.ts:5


resolveInteger

โ–ธ resolveInteger(parameter, options?): Result<number, ArgumentIntegerError | ArgumentIntegerTooSmall | ArgumentIntegerTooLarge>

Parameters

NameType
parameterstring
options?Object
options.maximum?number
options.minimum?number

Returns

Result<number, ArgumentIntegerError | ArgumentIntegerTooSmall | ArgumentIntegerTooLarge>

Defined in

projects/framework/src/lib/resolvers/integer.ts:4


resolveMember

โ–ธ resolveMember(parameter, guild): Promise<Result<GuildMember, ArgumentMemberError>>

Parameters

NameType
parameterstring
guildGuild

Returns

Promise<Result<GuildMember, ArgumentMemberError>>

Defined in

projects/framework/src/lib/resolvers/member.ts:6


resolveMessage

โ–ธ resolveMessage(parameter, options): Promise<Result<Message, ArgumentMessageError>>

Parameters

NameType
parameterstring
optionsMessageResolverOptions

Returns

Promise<Result<Message, ArgumentMessageError>>

Defined in

projects/framework/src/lib/resolvers/message.ts:14


resolveNumber

โ–ธ resolveNumber(parameter, options?): Result<number, ArgumentNumberError | ArgumentNumberTooSmall | ArgumentNumberTooLarge>

Parameters

NameType
parameterstring
options?Object
options.maximum?number
options.minimum?number

Returns

Result<number, ArgumentNumberError | ArgumentNumberTooSmall | ArgumentNumberTooLarge>

Defined in

projects/framework/src/lib/resolvers/number.ts:4


resolvePartialDMChannel

โ–ธ resolvePartialDMChannel(parameter, message): Result<DMChannel | PartialDMChannel, ArgumentChannelError | ArgumentDMChannelError>

Parameters

NameType
parameterstring
messageMessage<boolean>

Returns

Result<DMChannel | PartialDMChannel, ArgumentChannelError | ArgumentDMChannelError>

Defined in

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


resolveRole

โ–ธ resolveRole(parameter, guild): Promise<Result<Role, ArgumentRoleError>>

Parameters

NameType
parameterstring
guildGuild

Returns

Promise<Result<Role, ArgumentRoleError>>

Defined in

projects/framework/src/lib/resolvers/role.ts:6


resolveString

โ–ธ resolveString(parameter, options?): Result<string, ArgumentStringTooShort | ArgumentStringTooLong>

Parameters

NameType
parameterstring
options?Object
options.maximum?number
options.minimum?number

Returns

Result<string, ArgumentStringTooShort | ArgumentStringTooLong>

Defined in

projects/framework/src/lib/resolvers/string.ts:4


resolveUser

โ–ธ resolveUser(parameter): Promise<Result<User, ArgumentUserError>>

Parameters

NameType
parameterstring

Returns

Promise<Result<User, ArgumentUserError>>

Defined in

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