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

Kord enum updates #698

Merged
merged 8 commits into from
Oct 13, 2022
Merged

Kord enum updates #698

merged 8 commits into from
Oct 13, 2022

Conversation

lukellmann
Copy link
Member

followup to #686

  • turn ActivityType into kord enum, it was enum class before (it's not yet generated by the processor because of binary compatibility)
  • add GenerateKordEnum.docUrl that adds a link to Discord's docs in the KDoc of kord enums
  • update ArchiveDuration to match kord enums (it's not generated by the processor because it's the only class with backing Duration value)
  • preserve declaration order for non-deprecated kord enum entries (affected AllowedMentionType, EmbedType and PresenceStatus)

@lukellmann lukellmann merged commit 734a61e into kordlib:0.8.x Oct 13, 2022
@lukellmann lukellmann deleted the kord-enum-updates branch October 13, 2022 18:17
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.

1 participant