retrieveThreadChannelById
Deprecated
Moved to the BotCommands-jda-ktx module You can find & replace: Find: io.github.freya022.botcommands.api.core.utils.retrieveThreadChannelById Replace: dev.freya02.botcommands.jda.ktx.retrieve.retrieveThreadChannelById
Retrieves a thread by ID.
The cached threads are checked first, and then a request is made.
The RestAction may throw InvalidChannelTypeException if a channel with the ID was found, but isn't a thread.