Skip to content

Commit

Permalink
Change members resolved objects to DiscordInteractionGuildMember in…
Browse files Browse the repository at this point in the history
…stead of DiscordGuildMember (#502)
  • Loading branch information
MrPowerGamerBR authored Feb 11, 2022
1 parent b9b7f6b commit 5da4971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/main/kotlin/entity/Interactions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public sealed class Choice<out T> {

@Serializable
public data class ResolvedObjects(
val members: Optional<Map<Snowflake, DiscordGuildMember>> = Optional.Missing(),
val members: Optional<Map<Snowflake, DiscordInteractionGuildMember>> = Optional.Missing(),
val users: Optional<Map<Snowflake, DiscordUser>> = Optional.Missing(),
val roles: Optional<Map<Snowflake, DiscordRole>> = Optional.Missing(),
val channels: Optional<Map<Snowflake, DiscordChannel>> = Optional.Missing(),
Expand Down

0 comments on commit 5da4971

Please sign in to comment.