light

inline fun JDAService.light(token: String, memberCachePolicy: MemberCachePolicy? = null, chunkingFilter: ChunkingFilter? = null, activity: Activity? = null, restConfig: RestConfig? = getDefaultRestConfig(), block: JDABuilder.() -> Unit = {}): JDA(source)

Creates a JDABuilder with low memory profile settings.

In addition to the profile settings:

You must not change intents, cache flags nor event manager using the builder.

If you plan on growing your bot, prefer using lightSharded instead.