setTimeout

fun <T> Task<T>.setTimeout(duration: Duration): Task<T>(source)

Deprecated

Moved to the BotCommands-jda-ktx module You can find & replace: Find: io.github.freya022.botcommands.api.core.utils.setTimeout Replace: dev.freya02.botcommands.jda.ktx.durations.setTimeout

See also


fun <T> GatewayTask<T>.setTimeout(duration: Duration): Task<T>(source)

Deprecated

Moved to the BotCommands-jda-ktx module You can find & replace: Find: io.github.freya022.botcommands.api.core.utils.setTimeout Replace: dev.freya02.botcommands.jda.ktx.durations.setTimeout

See also

GatewayTask.setTimeout