suggestSingleSuspending

inline fun suggestSingleSuspending(coroutineScope: CoroutineScope = silkCoroutineScope, crossinline suggestionBuilder: suspend (CommandContext<Source>) -> Any?): ArgumentCommandBuilder<Source, T>(source)

Suggest the value which is the result of the suggestionBuilder.

Parameters

coroutineScope

the CoroutineScope where the suggestion should be built in - an async scope by default, but you can change this to a synchronous scope using net.silkmc.silk.core.task.mcCoroutineScope