Skip to content

Commit

Permalink
Extra-Context can default to null for compat
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteAlex committed Sep 17, 2021
1 parent 42bf349 commit b1c6044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/kotlin/Kord.kt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Kord(
val selfId: Snowflake,
private val eventFlow: MutableSharedFlow<Event>,
dispatcher: CoroutineDispatcher,
val extraContext: (Event.() -> CoroutineContext)?
val extraContext: (Event.() -> CoroutineContext)? = null
) : CoroutineScope {
private val interceptor = GatewayEventInterceptor(this, gateway, cache, eventFlow)

Expand Down

0 comments on commit b1c6044

Please sign in to comment.