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

Invite and Application revamp #530

Merged
merged 34 commits into from
Mar 7, 2022

Conversation

lukellmann
Copy link
Member

@lukellmann lukellmann commented Feb 9, 2022

  • update ApplicationInfo fields in common, cache and entity and rename to Application
  • add ApplicationFlag and ApplicationFlags
  • update Invite fields in common, cache and entity
  • include InviteMetadata fields in DiscordInviteWithMetadata, it is not a separate type
  • deprecate TargetUserType
  • add InviteTargetType (https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types)
  • remove UserFlag.None, it's no flag and contained in every UserFlags (0 & x == 0)
  • add UserFlag.BotHttpInteractions
  • add CategorizableChannelBehavior: invites (previously on TopGuildChannelBehavior) and createInvite() (previously on CategorizableChannel), this is the new supertype of all TopGuildChannelBehaviors except CategoryBehavior, categories can not be invited to

@lukellmann lukellmann changed the title Invite revamp Invite and Application revamp Feb 10, 2022
@lukellmann
Copy link
Member Author

this is now ready for review

@lukellmann lukellmann marked this pull request as ready for review February 26, 2022 04:28
@HopeBaron HopeBaron merged commit 551d33d into kordlib:0.8.x Mar 7, 2022
@lukellmann lukellmann deleted the changes/invite-models branch March 7, 2022 13:44
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.

2 participants