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

Update event hierarchy #1952

Merged
merged 6 commits into from Sep 27, 2022
Merged

Update event hierarchy #1952

merged 6 commits into from Sep 27, 2022

Conversation

MinnDevelopment
Copy link
Member

@MinnDevelopment MinnDevelopment commented Dec 15, 2021

Pull Request Etiquette

Changes

  • Internal code
  • Library interface (affecting end-user code)
  • Documentation
  • Other: _____

Closes Issue: NaN

Description

This addresses the simplifying events plan. However, there is still room to discuss these changes, especially renaming of events can be viewed critically.

The removal of the voice events is inspired by the common misconceptions of the GuildVoiceLeaveEvent which did not include voice moves. I think splitting these events up is confusing and unnecessarily complicated, which is why I'm proposing to merge them into a single event.

@MinnDevelopment MinnDevelopment added the status: documentation needed lacks documentation, either partially or completely label Dec 15, 2021
@MinnDevelopment MinnDevelopment added the type: breaking contains a backwards incompatible change label Apr 12, 2022
…tion

# Conflicts:
#	src/main/java/net/dv8tion/jda/api/JDABuilder.java
#	src/main/java/net/dv8tion/jda/api/events/guild/voice/GenericGuildVoiceUpdateEvent.java
#	src/main/java/net/dv8tion/jda/api/events/guild/voice/GuildVoiceJoinEvent.java
#	src/main/java/net/dv8tion/jda/api/events/guild/voice/GuildVoiceLeaveEvent.java
#	src/main/java/net/dv8tion/jda/api/events/guild/voice/GuildVoiceMoveEvent.java
#	src/main/java/net/dv8tion/jda/api/events/guild/voice/GuildVoiceUpdateEvent.java
#	src/main/java/net/dv8tion/jda/api/hooks/ListenerAdapter.java
#	src/main/java/net/dv8tion/jda/internal/requests/WebSocketClient.java
@MinnDevelopment MinnDevelopment marked this pull request as ready for review September 20, 2022 15:35
@MinnDevelopment MinnDevelopment added type: enhancement and removed status: documentation needed lacks documentation, either partially or completely labels Sep 20, 2022
@MinnDevelopment MinnDevelopment merged commit be1deeb into master Sep 27, 2022
@MinnDevelopment MinnDevelopment deleted the patch-event-abstraction branch September 27, 2022 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: breaking contains a backwards incompatible change type: enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants