resolve

open fun resolve(option: Option, event: Event): R?(source)

Returns an object.

The behavior when this returns null is the same as the "input" resolvers, for example, TextParameterResolver, SlashParameterResolver or ComponentParameterResolver.

Parameters

option

The option currently being resolved, may be from an application command, text command, etc...

event

The event triggering this resolver


open fun resolve(executable: Executable, event: Event): R?(source)

Deprecated

First parameter was replaced with Option