summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/de/romjaki/privateroombot/VoiceChannelJoinListener.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main/java/de/romjaki/privateroombot/VoiceChannelJoinListener.java b/src/main/java/de/romjaki/privateroombot/VoiceChannelJoinListener.java
index 5f55beb..e6401e2 100644
--- a/src/main/java/de/romjaki/privateroombot/VoiceChannelJoinListener.java
+++ b/src/main/java/de/romjaki/privateroombot/VoiceChannelJoinListener.java
@@ -15,7 +15,6 @@ import static de.romjaki.privateroombot.Config.CONFIG;
public class VoiceChannelJoinListener extends ListenerAdapter {
@Override
public void onGuildVoiceJoin(GuildVoiceJoinEvent event) {
- super.onGuildVoiceJoin(event);
if (!event.getChannelJoined().getId().equals(CONFIG.from_channel_id)) {
return;
}
@@ -29,7 +28,6 @@ public class VoiceChannelJoinListener extends ListenerAdapter {
@Override
public void onGuildVoiceMove(GuildVoiceMoveEvent event) {
- super.onGuildVoiceMove(event);
VoiceChannelJoinListener.this.onGuildVoiceLeave(
new GuildVoiceLeaveEvent(
event.getJDA(),
@@ -42,7 +40,6 @@ public class VoiceChannelJoinListener extends ListenerAdapter {
@Override
public void onGuildVoiceLeave(GuildVoiceLeaveEvent event) {
- super.onGuildVoiceLeave(event);
if (!event.getChannelLeft().getParent().getId().equals(CONFIG.category_id)) {
return;
}