diff --git a/common/api/common.klib.api b/common/api/common.klib.api index d26881891af..9308b8f8f82 100644 --- a/common/api/common.klib.api +++ b/common/api/common.klib.api @@ -877,7 +877,7 @@ final class dev.kord.common.entity/DiscordActivityTimestamps { // dev.kord.commo } final class dev.kord.common.entity/DiscordAddedGuildMember { // dev.kord.common.entity/DiscordAddedGuildMember|null[0] - constructor (dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin.collections/List, kotlinx.datetime/Instant, dev.kord.common.entity.optional/Optional = ..., kotlin/Boolean, kotlin/Boolean, dev.kord.common.entity/GuildMemberFlags, dev.kord.common.entity/Snowflake, dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...) // dev.kord.common.entity/DiscordAddedGuildMember.|(dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.collections.List;kotlinx.datetime.Instant;dev.kord.common.entity.optional.Optional;kotlin.Boolean;kotlin.Boolean;dev.kord.common.entity.GuildMemberFlags;dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] + constructor (dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin.collections/List, kotlinx.datetime/Instant?, dev.kord.common.entity.optional/Optional = ..., kotlin/Boolean, kotlin/Boolean, dev.kord.common.entity/GuildMemberFlags, dev.kord.common.entity/Snowflake, dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...) // dev.kord.common.entity/DiscordAddedGuildMember.|(dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.collections.List;kotlinx.datetime.Instant?;dev.kord.common.entity.optional.Optional;kotlin.Boolean;kotlin.Boolean;dev.kord.common.entity.GuildMemberFlags;dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] final val avatar // dev.kord.common.entity/DiscordAddedGuildMember.avatar|{}avatar[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordAddedGuildMember.avatar.|(){}[0] @@ -890,7 +890,7 @@ final class dev.kord.common.entity/DiscordAddedGuildMember { // dev.kord.common. final val guildId // dev.kord.common.entity/DiscordAddedGuildMember.guildId|{}guildId[0] final fun (): dev.kord.common.entity/Snowflake // dev.kord.common.entity/DiscordAddedGuildMember.guildId.|(){}[0] final val joinedAt // dev.kord.common.entity/DiscordAddedGuildMember.joinedAt|{}joinedAt[0] - final fun (): kotlinx.datetime/Instant // dev.kord.common.entity/DiscordAddedGuildMember.joinedAt.|(){}[0] + final fun (): kotlinx.datetime/Instant? // dev.kord.common.entity/DiscordAddedGuildMember.joinedAt.|(){}[0] final val mute // dev.kord.common.entity/DiscordAddedGuildMember.mute|{}mute[0] final fun (): kotlin/Boolean // dev.kord.common.entity/DiscordAddedGuildMember.mute.|(){}[0] final val nick // dev.kord.common.entity/DiscordAddedGuildMember.nick|{}nick[0] @@ -910,13 +910,13 @@ final class dev.kord.common.entity/DiscordAddedGuildMember { // dev.kord.common. final fun component12(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordAddedGuildMember.component12|component12(){}[0] final fun component2(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordAddedGuildMember.component2|component2(){}[0] final fun component3(): kotlin.collections/List // dev.kord.common.entity/DiscordAddedGuildMember.component3|component3(){}[0] - final fun component4(): kotlinx.datetime/Instant // dev.kord.common.entity/DiscordAddedGuildMember.component4|component4(){}[0] + final fun component4(): kotlinx.datetime/Instant? // dev.kord.common.entity/DiscordAddedGuildMember.component4|component4(){}[0] final fun component5(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordAddedGuildMember.component5|component5(){}[0] final fun component6(): kotlin/Boolean // dev.kord.common.entity/DiscordAddedGuildMember.component6|component6(){}[0] final fun component7(): kotlin/Boolean // dev.kord.common.entity/DiscordAddedGuildMember.component7|component7(){}[0] final fun component8(): dev.kord.common.entity/GuildMemberFlags // dev.kord.common.entity/DiscordAddedGuildMember.component8|component8(){}[0] final fun component9(): dev.kord.common.entity/Snowflake // dev.kord.common.entity/DiscordAddedGuildMember.component9|component9(){}[0] - final fun copy(dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin.collections/List = ..., kotlinx.datetime/Instant = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/Boolean = ..., kotlin/Boolean = ..., dev.kord.common.entity/GuildMemberFlags = ..., dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...): dev.kord.common.entity/DiscordAddedGuildMember // dev.kord.common.entity/DiscordAddedGuildMember.copy|copy(dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.collections.List;kotlinx.datetime.Instant;dev.kord.common.entity.optional.Optional;kotlin.Boolean;kotlin.Boolean;dev.kord.common.entity.GuildMemberFlags;dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] + final fun copy(dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin.collections/List = ..., kotlinx.datetime/Instant? = ..., dev.kord.common.entity.optional/Optional = ..., kotlin/Boolean = ..., kotlin/Boolean = ..., dev.kord.common.entity/GuildMemberFlags = ..., dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...): dev.kord.common.entity/DiscordAddedGuildMember // dev.kord.common.entity/DiscordAddedGuildMember.copy|copy(dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.collections.List;kotlinx.datetime.Instant?;dev.kord.common.entity.optional.Optional;kotlin.Boolean;kotlin.Boolean;dev.kord.common.entity.GuildMemberFlags;dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.common.entity/DiscordAddedGuildMember.equals|equals(kotlin.Any?){}[0] final fun hashCode(): kotlin/Int // dev.kord.common.entity/DiscordAddedGuildMember.hashCode|hashCode(){}[0] final fun toString(): kotlin/String // dev.kord.common.entity/DiscordAddedGuildMember.toString|toString(){}[0] @@ -2561,7 +2561,7 @@ final class dev.kord.common.entity/DiscordGuildIntegrations { // dev.kord.common } final class dev.kord.common.entity/DiscordGuildMember { // dev.kord.common.entity/DiscordGuildMember|null[0] - constructor (dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin.collections/List, kotlinx.datetime/Instant, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity/GuildMemberFlags, dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...) // dev.kord.common.entity/DiscordGuildMember.|(dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.collections.List;kotlinx.datetime.Instant;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.GuildMemberFlags;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] + constructor (dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin.collections/List, kotlinx.datetime/Instant?, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity/GuildMemberFlags, dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...) // dev.kord.common.entity/DiscordGuildMember.|(dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.collections.List;kotlinx.datetime.Instant?;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.GuildMemberFlags;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] final val avatar // dev.kord.common.entity/DiscordGuildMember.avatar|{}avatar[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordGuildMember.avatar.|(){}[0] @@ -2572,7 +2572,7 @@ final class dev.kord.common.entity/DiscordGuildMember { // dev.kord.common.entit final val flags // dev.kord.common.entity/DiscordGuildMember.flags|{}flags[0] final fun (): dev.kord.common.entity/GuildMemberFlags // dev.kord.common.entity/DiscordGuildMember.flags.|(){}[0] final val joinedAt // dev.kord.common.entity/DiscordGuildMember.joinedAt|{}joinedAt[0] - final fun (): kotlinx.datetime/Instant // dev.kord.common.entity/DiscordGuildMember.joinedAt.|(){}[0] + final fun (): kotlinx.datetime/Instant? // dev.kord.common.entity/DiscordGuildMember.joinedAt.|(){}[0] final val mute // dev.kord.common.entity/DiscordGuildMember.mute|{}mute[0] final fun (): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.common.entity/DiscordGuildMember.mute.|(){}[0] final val nick // dev.kord.common.entity/DiscordGuildMember.nick|{}nick[0] @@ -2591,13 +2591,13 @@ final class dev.kord.common.entity/DiscordGuildMember { // dev.kord.common.entit final fun component11(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordGuildMember.component11|component11(){}[0] final fun component2(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordGuildMember.component2|component2(){}[0] final fun component3(): kotlin.collections/List // dev.kord.common.entity/DiscordGuildMember.component3|component3(){}[0] - final fun component4(): kotlinx.datetime/Instant // dev.kord.common.entity/DiscordGuildMember.component4|component4(){}[0] + final fun component4(): kotlinx.datetime/Instant? // dev.kord.common.entity/DiscordGuildMember.component4|component4(){}[0] final fun component5(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordGuildMember.component5|component5(){}[0] final fun component6(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.common.entity/DiscordGuildMember.component6|component6(){}[0] final fun component7(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.common.entity/DiscordGuildMember.component7|component7(){}[0] final fun component8(): dev.kord.common.entity/GuildMemberFlags // dev.kord.common.entity/DiscordGuildMember.component8|component8(){}[0] final fun component9(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.common.entity/DiscordGuildMember.component9|component9(){}[0] - final fun copy(dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin.collections/List = ..., kotlinx.datetime/Instant = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity/GuildMemberFlags = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...): dev.kord.common.entity/DiscordGuildMember // dev.kord.common.entity/DiscordGuildMember.copy|copy(dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.collections.List;kotlinx.datetime.Instant;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.GuildMemberFlags;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] + final fun copy(dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin.collections/List = ..., kotlinx.datetime/Instant? = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity/GuildMemberFlags = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...): dev.kord.common.entity/DiscordGuildMember // dev.kord.common.entity/DiscordGuildMember.copy|copy(dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.collections.List;kotlinx.datetime.Instant?;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.GuildMemberFlags;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.common.entity/DiscordGuildMember.equals|equals(kotlin.Any?){}[0] final fun hashCode(): kotlin/Int // dev.kord.common.entity/DiscordGuildMember.hashCode|hashCode(){}[0] final fun toString(): kotlin/String // dev.kord.common.entity/DiscordGuildMember.toString|toString(){}[0] @@ -3081,7 +3081,7 @@ final class dev.kord.common.entity/DiscordInteraction { // dev.kord.common.entit } final class dev.kord.common.entity/DiscordInteractionGuildMember { // dev.kord.common.entity/DiscordInteractionGuildMember|null[0] - constructor (dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin.collections/List, kotlinx.datetime/Instant, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/Permissions, dev.kord.common.entity/GuildMemberFlags, dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...) // dev.kord.common.entity/DiscordInteractionGuildMember.|(dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.collections.List;kotlinx.datetime.Instant;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.Permissions;dev.kord.common.entity.GuildMemberFlags;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] + constructor (dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin.collections/List, kotlinx.datetime/Instant?, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/Permissions, dev.kord.common.entity/GuildMemberFlags, dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...) // dev.kord.common.entity/DiscordInteractionGuildMember.|(dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.collections.List;kotlinx.datetime.Instant?;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.Permissions;dev.kord.common.entity.GuildMemberFlags;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] final val avatar // dev.kord.common.entity/DiscordInteractionGuildMember.avatar|{}avatar[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteractionGuildMember.avatar.|(){}[0] @@ -3090,7 +3090,7 @@ final class dev.kord.common.entity/DiscordInteractionGuildMember { // dev.kord.c final val flags // dev.kord.common.entity/DiscordInteractionGuildMember.flags|{}flags[0] final fun (): dev.kord.common.entity/GuildMemberFlags // dev.kord.common.entity/DiscordInteractionGuildMember.flags.|(){}[0] final val joinedAt // dev.kord.common.entity/DiscordInteractionGuildMember.joinedAt|{}joinedAt[0] - final fun (): kotlinx.datetime/Instant // dev.kord.common.entity/DiscordInteractionGuildMember.joinedAt.|(){}[0] + final fun (): kotlinx.datetime/Instant? // dev.kord.common.entity/DiscordInteractionGuildMember.joinedAt.|(){}[0] final val nick // dev.kord.common.entity/DiscordInteractionGuildMember.nick|{}nick[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteractionGuildMember.nick.|(){}[0] final val pending // dev.kord.common.entity/DiscordInteractionGuildMember.pending|{}pending[0] @@ -3108,13 +3108,13 @@ final class dev.kord.common.entity/DiscordInteractionGuildMember { // dev.kord.c final fun component10(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteractionGuildMember.component10|component10(){}[0] final fun component2(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteractionGuildMember.component2|component2(){}[0] final fun component3(): kotlin.collections/List // dev.kord.common.entity/DiscordInteractionGuildMember.component3|component3(){}[0] - final fun component4(): kotlinx.datetime/Instant // dev.kord.common.entity/DiscordInteractionGuildMember.component4|component4(){}[0] + final fun component4(): kotlinx.datetime/Instant? // dev.kord.common.entity/DiscordInteractionGuildMember.component4|component4(){}[0] final fun component5(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteractionGuildMember.component5|component5(){}[0] final fun component6(): dev.kord.common.entity/Permissions // dev.kord.common.entity/DiscordInteractionGuildMember.component6|component6(){}[0] final fun component7(): dev.kord.common.entity/GuildMemberFlags // dev.kord.common.entity/DiscordInteractionGuildMember.component7|component7(){}[0] final fun component8(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.common.entity/DiscordInteractionGuildMember.component8|component8(){}[0] final fun component9(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordInteractionGuildMember.component9|component9(){}[0] - final fun copy(dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin.collections/List = ..., kotlinx.datetime/Instant = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/Permissions = ..., dev.kord.common.entity/GuildMemberFlags = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...): dev.kord.common.entity/DiscordInteractionGuildMember // dev.kord.common.entity/DiscordInteractionGuildMember.copy|copy(dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.collections.List;kotlinx.datetime.Instant;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.Permissions;dev.kord.common.entity.GuildMemberFlags;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] + final fun copy(dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ..., kotlin.collections/List = ..., kotlinx.datetime/Instant? = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/Permissions = ..., dev.kord.common.entity/GuildMemberFlags = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...): dev.kord.common.entity/DiscordInteractionGuildMember // dev.kord.common.entity/DiscordInteractionGuildMember.copy|copy(dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional;kotlin.collections.List;kotlinx.datetime.Instant?;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.Permissions;dev.kord.common.entity.GuildMemberFlags;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.common.entity/DiscordInteractionGuildMember.equals|equals(kotlin.Any?){}[0] final fun hashCode(): kotlin/Int // dev.kord.common.entity/DiscordInteractionGuildMember.hashCode|hashCode(){}[0] final fun toString(): kotlin/String // dev.kord.common.entity/DiscordInteractionGuildMember.toString|toString(){}[0] @@ -5001,7 +5001,7 @@ final class dev.kord.common.entity/DiscordUpdatedEmojis { // dev.kord.common.ent } final class dev.kord.common.entity/DiscordUpdatedGuildMember { // dev.kord.common.entity/DiscordUpdatedGuildMember|null[0] - constructor (dev.kord.common.entity/Snowflake, kotlin.collections/List, dev.kord.common.entity/DiscordUser, dev.kord.common.entity.optional/Optional = ..., kotlinx.datetime/Instant, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/GuildMemberFlags, dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...) // dev.kord.common.entity/DiscordUpdatedGuildMember.|(dev.kord.common.entity.Snowflake;kotlin.collections.List;dev.kord.common.entity.DiscordUser;dev.kord.common.entity.optional.Optional;kotlinx.datetime.Instant;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.GuildMemberFlags;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] + constructor (dev.kord.common.entity/Snowflake, kotlin.collections/List, dev.kord.common.entity/DiscordUser, dev.kord.common.entity.optional/Optional = ..., kotlinx.datetime/Instant?, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/GuildMemberFlags, dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...) // dev.kord.common.entity/DiscordUpdatedGuildMember.|(dev.kord.common.entity.Snowflake;kotlin.collections.List;dev.kord.common.entity.DiscordUser;dev.kord.common.entity.optional.Optional;kotlinx.datetime.Instant?;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.GuildMemberFlags;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] final val avatar // dev.kord.common.entity/DiscordUpdatedGuildMember.avatar|{}avatar[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordUpdatedGuildMember.avatar.|(){}[0] @@ -5012,7 +5012,7 @@ final class dev.kord.common.entity/DiscordUpdatedGuildMember { // dev.kord.commo final val guildId // dev.kord.common.entity/DiscordUpdatedGuildMember.guildId|{}guildId[0] final fun (): dev.kord.common.entity/Snowflake // dev.kord.common.entity/DiscordUpdatedGuildMember.guildId.|(){}[0] final val joinedAt // dev.kord.common.entity/DiscordUpdatedGuildMember.joinedAt|{}joinedAt[0] - final fun (): kotlinx.datetime/Instant // dev.kord.common.entity/DiscordUpdatedGuildMember.joinedAt.|(){}[0] + final fun (): kotlinx.datetime/Instant? // dev.kord.common.entity/DiscordUpdatedGuildMember.joinedAt.|(){}[0] final val nick // dev.kord.common.entity/DiscordUpdatedGuildMember.nick|{}nick[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordUpdatedGuildMember.nick.|(){}[0] final val pending // dev.kord.common.entity/DiscordUpdatedGuildMember.pending|{}pending[0] @@ -5029,12 +5029,12 @@ final class dev.kord.common.entity/DiscordUpdatedGuildMember { // dev.kord.commo final fun component2(): kotlin.collections/List // dev.kord.common.entity/DiscordUpdatedGuildMember.component2|component2(){}[0] final fun component3(): dev.kord.common.entity/DiscordUser // dev.kord.common.entity/DiscordUpdatedGuildMember.component3|component3(){}[0] final fun component4(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordUpdatedGuildMember.component4|component4(){}[0] - final fun component5(): kotlinx.datetime/Instant // dev.kord.common.entity/DiscordUpdatedGuildMember.component5|component5(){}[0] + final fun component5(): kotlinx.datetime/Instant? // dev.kord.common.entity/DiscordUpdatedGuildMember.component5|component5(){}[0] final fun component6(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordUpdatedGuildMember.component6|component6(){}[0] final fun component7(): dev.kord.common.entity/GuildMemberFlags // dev.kord.common.entity/DiscordUpdatedGuildMember.component7|component7(){}[0] final fun component8(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.common.entity/DiscordUpdatedGuildMember.component8|component8(){}[0] final fun component9(): dev.kord.common.entity.optional/Optional // dev.kord.common.entity/DiscordUpdatedGuildMember.component9|component9(){}[0] - final fun copy(dev.kord.common.entity/Snowflake = ..., kotlin.collections/List = ..., dev.kord.common.entity/DiscordUser = ..., dev.kord.common.entity.optional/Optional = ..., kotlinx.datetime/Instant = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/GuildMemberFlags = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...): dev.kord.common.entity/DiscordUpdatedGuildMember // dev.kord.common.entity/DiscordUpdatedGuildMember.copy|copy(dev.kord.common.entity.Snowflake;kotlin.collections.List;dev.kord.common.entity.DiscordUser;dev.kord.common.entity.optional.Optional;kotlinx.datetime.Instant;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.GuildMemberFlags;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] + final fun copy(dev.kord.common.entity/Snowflake = ..., kotlin.collections/List = ..., dev.kord.common.entity/DiscordUser = ..., dev.kord.common.entity.optional/Optional = ..., kotlinx.datetime/Instant? = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/GuildMemberFlags = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...): dev.kord.common.entity/DiscordUpdatedGuildMember // dev.kord.common.entity/DiscordUpdatedGuildMember.copy|copy(dev.kord.common.entity.Snowflake;kotlin.collections.List;dev.kord.common.entity.DiscordUser;dev.kord.common.entity.optional.Optional;kotlinx.datetime.Instant?;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.GuildMemberFlags;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.common.entity/DiscordUpdatedGuildMember.equals|equals(kotlin.Any?){}[0] final fun hashCode(): kotlin/Int // dev.kord.common.entity/DiscordUpdatedGuildMember.hashCode|hashCode(){}[0] final fun toString(): kotlin/String // dev.kord.common.entity/DiscordUpdatedGuildMember.toString|toString(){}[0] diff --git a/common/src/commonMain/kotlin/entity/Member.kt b/common/src/commonMain/kotlin/entity/Member.kt index cbcd9e5ee67..244bc4161c4 100644 --- a/common/src/commonMain/kotlin/entity/Member.kt +++ b/common/src/commonMain/kotlin/entity/Member.kt @@ -27,7 +27,7 @@ public data class DiscordGuildMember( val nick: Optional = Optional.Missing(), val roles: List, @SerialName("joined_at") - val joinedAt: Instant, + val joinedAt: Instant?, @SerialName("premium_since") val premiumSince: Optional = Optional.Missing(), val deaf: OptionalBoolean = OptionalBoolean.Missing, @@ -46,7 +46,7 @@ public data class DiscordInteractionGuildMember( val nick: Optional = Optional.Missing(), val roles: List, @SerialName("joined_at") - val joinedAt: Instant, + val joinedAt: Instant?, @SerialName("premium_since") val premiumSince: Optional = Optional.Missing(), val permissions: Permissions, @@ -64,7 +64,7 @@ public data class DiscordAddedGuildMember( val nick: Optional = Optional.Missing(), val roles: List, @SerialName("joined_at") - val joinedAt: Instant, + val joinedAt: Instant?, @SerialName("premium_since") val premiumSince: Optional = Optional.Missing(), val deaf: Boolean, @@ -93,7 +93,7 @@ public data class DiscordUpdatedGuildMember( val user: DiscordUser, val nick: Optional = Optional.Missing(), @SerialName("joined_at") - val joinedAt: Instant, + val joinedAt: Instant?, @SerialName("premium_since") val premiumSince: Optional = Optional.Missing(), val flags: GuildMemberFlags, diff --git a/core/api/core.klib.api b/core/api/core.klib.api index 2b551c5bb2a..1d39196ab5f 100644 --- a/core/api/core.klib.api +++ b/core/api/core.klib.api @@ -3895,7 +3895,7 @@ final class dev.kord.core.cache.data/InviteWithMetadataData : dev.kord.core.cach } final class dev.kord.core.cache.data/MemberData { // dev.kord.core.cache.data/MemberData|null[0] - constructor (dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, dev.kord.common.entity.optional/Optional = ..., kotlin.collections/List, kotlinx.datetime/Instant, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/GuildMemberFlags, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...) // dev.kord.core.cache.data/MemberData.|(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.Optional;kotlin.collections.List;kotlinx.datetime.Instant;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.GuildMemberFlags;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] + constructor (dev.kord.common.entity/Snowflake, dev.kord.common.entity/Snowflake, dev.kord.common.entity.optional/Optional = ..., kotlin.collections/List, kotlinx.datetime/Instant?, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/GuildMemberFlags, dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...) // dev.kord.core.cache.data/MemberData.|(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.Optional;kotlin.collections.List;kotlinx.datetime.Instant?;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.GuildMemberFlags;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] final val avatar // dev.kord.core.cache.data/MemberData.avatar|{}avatar[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/MemberData.avatar.|(){}[0] @@ -3906,7 +3906,7 @@ final class dev.kord.core.cache.data/MemberData { // dev.kord.core.cache.data/Me final val guildId // dev.kord.core.cache.data/MemberData.guildId|{}guildId[0] final fun (): dev.kord.common.entity/Snowflake // dev.kord.core.cache.data/MemberData.guildId.|(){}[0] final val joinedAt // dev.kord.core.cache.data/MemberData.joinedAt|{}joinedAt[0] - final fun (): kotlinx.datetime/Instant // dev.kord.core.cache.data/MemberData.joinedAt.|(){}[0] + final fun (): kotlinx.datetime/Instant? // dev.kord.core.cache.data/MemberData.joinedAt.|(){}[0] final val nick // dev.kord.core.cache.data/MemberData.nick|{}nick[0] final fun (): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/MemberData.nick.|(){}[0] final val pending // dev.kord.core.cache.data/MemberData.pending|{}pending[0] @@ -3926,12 +3926,12 @@ final class dev.kord.core.cache.data/MemberData { // dev.kord.core.cache.data/Me final fun component2(): dev.kord.common.entity/Snowflake // dev.kord.core.cache.data/MemberData.component2|component2(){}[0] final fun component3(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/MemberData.component3|component3(){}[0] final fun component4(): kotlin.collections/List // dev.kord.core.cache.data/MemberData.component4|component4(){}[0] - final fun component5(): kotlinx.datetime/Instant // dev.kord.core.cache.data/MemberData.component5|component5(){}[0] + final fun component5(): kotlinx.datetime/Instant? // dev.kord.core.cache.data/MemberData.component5|component5(){}[0] final fun component6(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/MemberData.component6|component6(){}[0] final fun component7(): dev.kord.common.entity/GuildMemberFlags // dev.kord.core.cache.data/MemberData.component7|component7(){}[0] final fun component8(): dev.kord.common.entity.optional/Optional // dev.kord.core.cache.data/MemberData.component8|component8(){}[0] final fun component9(): dev.kord.common.entity.optional/OptionalBoolean // dev.kord.core.cache.data/MemberData.component9|component9(){}[0] - final fun copy(dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity.optional/Optional = ..., kotlin.collections/List = ..., kotlinx.datetime/Instant = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/GuildMemberFlags = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...): dev.kord.core.cache.data/MemberData // dev.kord.core.cache.data/MemberData.copy|copy(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.Optional;kotlin.collections.List;kotlinx.datetime.Instant;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.GuildMemberFlags;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] + final fun copy(dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity/Snowflake = ..., dev.kord.common.entity.optional/Optional = ..., kotlin.collections/List = ..., kotlinx.datetime/Instant? = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity/GuildMemberFlags = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/OptionalBoolean = ..., dev.kord.common.entity.optional/Optional = ..., dev.kord.common.entity.optional/Optional = ...): dev.kord.core.cache.data/MemberData // dev.kord.core.cache.data/MemberData.copy|copy(dev.kord.common.entity.Snowflake;dev.kord.common.entity.Snowflake;dev.kord.common.entity.optional.Optional;kotlin.collections.List;kotlinx.datetime.Instant?;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.GuildMemberFlags;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.OptionalBoolean;dev.kord.common.entity.optional.Optional;dev.kord.common.entity.optional.Optional){}[0] final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.core.cache.data/MemberData.equals|equals(kotlin.Any?){}[0] final fun hashCode(): kotlin/Int // dev.kord.core.cache.data/MemberData.hashCode|hashCode(){}[0] final fun toString(): kotlin/String // dev.kord.core.cache.data/MemberData.toString|toString(){}[0] @@ -7825,7 +7825,7 @@ final class dev.kord.core.entity/Member : dev.kord.core.behavior/MemberBehavior, final val isPending // dev.kord.core.entity/Member.isPending|{}isPending[0] final fun (): kotlin/Boolean // dev.kord.core.entity/Member.isPending.|(){}[0] final val joinedAt // dev.kord.core.entity/Member.joinedAt|{}joinedAt[0] - final fun (): kotlinx.datetime/Instant // dev.kord.core.entity/Member.joinedAt.|(){}[0] + final fun (): kotlinx.datetime/Instant? // dev.kord.core.entity/Member.joinedAt.|(){}[0] final val memberAvatar // dev.kord.core.entity/Member.memberAvatar|{}memberAvatar[0] final fun (): dev.kord.core.entity/Asset? // dev.kord.core.entity/Member.memberAvatar.|(){}[0] final val memberAvatarHash // dev.kord.core.entity/Member.memberAvatarHash|{}memberAvatarHash[0] diff --git a/core/src/commonMain/kotlin/cache/data/MemberData.kt b/core/src/commonMain/kotlin/cache/data/MemberData.kt index 286a3bcc68d..2883b5ddb8b 100644 --- a/core/src/commonMain/kotlin/cache/data/MemberData.kt +++ b/core/src/commonMain/kotlin/cache/data/MemberData.kt @@ -16,7 +16,7 @@ public data class MemberData( val guildId: Snowflake, val nick: Optional = Optional.Missing(), val roles: List, - val joinedAt: Instant, + val joinedAt: Instant?, val premiumSince: Optional = Optional.Missing(), val flags: GuildMemberFlags, val permissions: Optional = Optional.Missing(), diff --git a/core/src/commonMain/kotlin/entity/Member.kt b/core/src/commonMain/kotlin/entity/Member.kt index 6be08925ca8..a37683931c2 100644 --- a/core/src/commonMain/kotlin/entity/Member.kt +++ b/core/src/commonMain/kotlin/entity/Member.kt @@ -44,7 +44,7 @@ public class Member( /** * When the user joined this [guild]. */ - public val joinedAt: Instant get() = memberData.joinedAt + public val joinedAt: Instant? get() = memberData.joinedAt /** * The guild-specific nickname of the user, if present.