light Sharded
inline fun JDAService.lightSharded(token: String, shardRange: IntRange? = null, shardsTotal: Int = -1, login: Boolean = true, memberCachePolicy: MemberCachePolicy? = null, chunkingFilter: ChunkingFilter? = null, noinline activityProvider: (shardId: Int) -> Activity? = null, restConfig: RestConfig? = getDefaultRestConfig(), block: DefaultShardManagerBuilder.() -> Unit = {}): ShardManager(source)
Creates a DefaultShardManagerBuilder with low memory profile settings.
In addition to the profile settings:
The event manager is set to the (optional) CoroutineEventManager
The intents are set to JDAService.intents.
In addition to the default-configured cache flags, JDAService.cacheFlags are added.
The REST Config is set to getDefaultRestConfig.
You must not change intents, cache flags nor event manager using the builder.