suppressContentWarning

inline fun <R> suppressContentWarning(block: () -> R): R(source)

Deprecated

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

Temporarily suppresses message content intent warnings

Note: This applies to all threads while the current code is inside this function