suggestListWithTooltipsSuspending
inline fun suggestListWithTooltipsSuspending(coroutineScope: CoroutineScope = silkCoroutineScope, crossinline suggestionsBuilder: (CommandContext<Source>) -> Iterable<Pair<Any?, Message>?>?): ArgumentCommandBuilder<Source, T>(source)
Suggest the entries of the iterable which is the result of the suggestionsBuilder. Additionaly, a separate tooltip associated with each suggestion will be shown as well.
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