diff --git a/core/src/commonMain/kotlin/supplier/StoreEntitySupplier.kt b/core/src/commonMain/kotlin/supplier/StoreEntitySupplier.kt index 0c53ee6adad4..d54703aa4deb 100644 --- a/core/src/commonMain/kotlin/supplier/StoreEntitySupplier.kt +++ b/core/src/commonMain/kotlin/supplier/StoreEntitySupplier.kt @@ -61,7 +61,7 @@ public class StoreEntitySupplier( } override suspend fun getMemberOrNull(guildId: Snowflake, userId: Snowflake): Member? { - return storeAndReturn(supplier.getMemberOrNull(guildId, userId)) { it.data } + return storeAndReturn(supplier.getMemberOrNull(guildId, userId)) { it.memberData } } override suspend fun getMessageOrNull(channelId: Snowflake, messageId: Snowflake): Message? { @@ -105,7 +105,7 @@ public class StoreEntitySupplier( } override fun getGuildMembers(guildId: Snowflake, limit: Int?): Flow { - return storeOnEach(supplier.getGuildMembers(guildId, limit)) { it.data } + return storeOnEach(supplier.getGuildMembers(guildId, limit)) { it.memberData } } override fun getGuildVoiceRegions(guildId: Snowflake): Flow {