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

feat: add support for monetization endpoints, skus and entitlements #1184

Merged
merged 13 commits into from
Jul 17, 2024

Conversation

Azn9
Copy link
Member

@Azn9 Azn9 commented Mar 18, 2024

Description: add support for monetization endpoints, skus and entitlements

https://discord.com/developers/docs/monetization/overview
Requires Discord4J/discord-json#160 and Discord4J/discord-json#170

@Azn9 Azn9 marked this pull request as draft March 19, 2024 02:25
@Azn9 Azn9 added this to the 3.3.0 milestone Apr 14, 2024
@Azn9 Azn9 marked this pull request as ready for review May 18, 2024 20:09
@Azn9 Azn9 requested review from Doc94 and quanticc May 18, 2024 20:09
@Azn9 Azn9 added the area/core Related to core module: events, entities, clients, specs label May 18, 2024
@Doc94 Doc94 modified the milestones: 3.3.0, 3.2.7 May 19, 2024
@Doc94 Doc94 added the PR depends on PR Another PR must be merged before this one label May 21, 2024
Azn9 added a commit to Azn9/Discord4J that referenced this pull request Jun 10, 2024
@Azn9 Azn9 mentioned this pull request Jun 10, 2024
Azn9 added a commit to Azn9/Discord4J that referenced this pull request Jun 10, 2024
@Azn9 Azn9 modified the milestones: 3.2.7, 3.3.0 Jun 11, 2024
@Azn9 Azn9 self-assigned this Jun 11, 2024
@Azn9 Azn9 requested a review from Doc94 June 11, 2024 01:39
Azn9 added a commit that referenced this pull request Jul 15, 2024
* feat: add Message#getPoll

* feat: add basic Poll objects

* feat: add rest poll routes and service

* feat: add MessageChannel#createPoll methods and PollCreateSpec

* feat: add PollVoteAddEvent and PollVoteRemoveEvent

* fix: uncomment code that prevent compilation (requires #1184)

* fix: undo incorrect access modification of Event#gateway

* fix: use Message#checkIfMessageContentAccessIsAllowed in Message#getPoll

* fix: fix arguments order in PollVotersRequestSpecGenerator

* fix: add missing event handler in ReactiveEventAdapter

* feat: add Intent#GUILD_MESSAGE_POLLS and Intent#DIRECT_MESSAGE_POLLS

* feat: add Permission#SEND_POLLS

* fix: add missing EventNames#MESSAGE_POLL_VOTE_ADD and MESSAGE_POLL_VOTE_REMOVE, and PayloadDeserializer link

* fix: fix events and add ExamplePollCreation

* feat: simplify poll creation

* fix: fix pr comments

* Add Poll#toString

* Fix docs

---------

Co-authored-by: Doc <nachito94@msn.com>
@Doc94 Doc94 removed the PR depends on PR Another PR must be merged before this one label Jul 17, 2024
…/feat/monetization

# Conflicts:
#	core/src/main/java/discord4j/core/event/ReactiveEventAdapter.java
#	core/src/main/java/discord4j/core/event/dispatch/DispatchHandlers.java
#	core/src/main/java/discord4j/core/event/domain/Event.java
#	core/src/main/java/discord4j/core/object/command/Interaction.java
#	rest/src/main/java/discord4j/rest/RestClient.java
@Doc94 Doc94 merged commit a1c0041 into Discord4J:3.2.x Jul 17, 2024
6 checks passed
Doc94 added a commit that referenced this pull request Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core Related to core module: events, entities, clients, specs
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants