setComponents
Deprecated
Replaced with setComponent(ComponentTree), if you have a message, you should get the ComponentTree directly from it
Replace with
import dev.freya02.botcommands.jda.ktx.components.toDefaultComponentTree
Content copied to clipboard
setComponents(components.toList().toDefaultComponentTree())
Content copied to clipboard