suggestListSuspending

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

Suggest the entries of the iterable which is the result of the suggestionsBuilder.

Parameters

coroutineScope

the CoroutineScope where the suggestions 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