deleteDelayed

Deprecated

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

Deletes the original message using the hook after the specified delay.

Note: This delays the rest action by the given delay.


@JvmName(name = "deleteDelayedMessage")
fun RestAction<Message>.deleteDelayed(delay: Duration?): RestAction<Message>(source)

Deprecated

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

Deletes the message after the specified delay.

Note: This delays the rest action by the given delay.