deleteDelayed
fun RestAction<InteractionHook>.deleteDelayed(delay: Duration?): RestAction<InteractionHook>(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 original message using the hook after the specified delay.
Note: This delays the rest action by the given delay.
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.