Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Message.thread #930

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add Message.thread #930

wants to merge 2 commits into from

Conversation

DRSchlaubi
Copy link
Member

No description provided.

@DRSchlaubi
Copy link
Member Author

Received status code 401 from server: Unauthorized

That's a new one

core/src/commonMain/kotlin/entity/Message.kt Outdated Show resolved Hide resolved
@@ -371,6 +371,7 @@ public data class DiscordPartialMessage(
@SerialName("referenced_message")
val referencedMessage: Optional<DiscordMessage?> = Optional.Missing(),
val interaction: Optional<DiscordMessageInteraction> = Optional.Missing(),
val thread: Optional<DiscordChannel> = Optional.Missing(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why in DiscordPartialMessage?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IDK do we have a description how partial a partial message is?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IDK do we have a description how partial a partial message is?

not that i'm aware of. i was more wondering about why it isn't in DiscordMessage

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a really good question

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is ;)

val thread: Optional<DiscordChannel> = Optional.Missing(),

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops xD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants