Skip to content

Commit f2eed3a

Browse files
committed
Removed duplicate examples
1 parent 2c06da9 commit f2eed3a

File tree

4 files changed

+40
-303
lines changed

4 files changed

+40
-303
lines changed

example/ChatBotExample.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,12 @@
3030
import com.github.theholywaffle.teamspeak3.TS3Config;
3131
import com.github.theholywaffle.teamspeak3.TS3Query;
3232
import com.github.theholywaffle.teamspeak3.api.TextMessageTargetMode;
33+
import com.github.theholywaffle.teamspeak3.api.event.ChannelCreateEvent;
34+
import com.github.theholywaffle.teamspeak3.api.event.ChannelDeletedEvent;
3335
import com.github.theholywaffle.teamspeak3.api.event.ChannelDescriptionEditedEvent;
3436
import com.github.theholywaffle.teamspeak3.api.event.ChannelEditedEvent;
37+
import com.github.theholywaffle.teamspeak3.api.event.ChannelMovedEvent;
38+
import com.github.theholywaffle.teamspeak3.api.event.ChannelPasswordChangedEvent;
3539
import com.github.theholywaffle.teamspeak3.api.event.ClientJoinEvent;
3640
import com.github.theholywaffle.teamspeak3.api.event.ClientLeaveEvent;
3741
import com.github.theholywaffle.teamspeak3.api.event.ClientMovedEvent;
@@ -101,6 +105,22 @@ public void onChannelDescriptionChanged(
101105
ChannelDescriptionEditedEvent e) {
102106

103107
}
108+
109+
public void onChannelCreate(ChannelCreateEvent e) {
110+
111+
}
112+
113+
public void onChannelDeleted(ChannelDeletedEvent e) {
114+
115+
}
116+
117+
public void onChannelMoved(ChannelMovedEvent e) {
118+
119+
}
120+
121+
public void onChannelPasswordChanged(ChannelPasswordChangedEvent e) {
122+
123+
}
104124
});
105125
}
106126

example/EventListenerExample.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,12 @@
2929
import com.github.theholywaffle.teamspeak3.TS3Api;
3030
import com.github.theholywaffle.teamspeak3.TS3Config;
3131
import com.github.theholywaffle.teamspeak3.TS3Query;
32+
import com.github.theholywaffle.teamspeak3.api.event.ChannelCreateEvent;
33+
import com.github.theholywaffle.teamspeak3.api.event.ChannelDeletedEvent;
3234
import com.github.theholywaffle.teamspeak3.api.event.ChannelDescriptionEditedEvent;
3335
import com.github.theholywaffle.teamspeak3.api.event.ChannelEditedEvent;
36+
import com.github.theholywaffle.teamspeak3.api.event.ChannelMovedEvent;
37+
import com.github.theholywaffle.teamspeak3.api.event.ChannelPasswordChangedEvent;
3438
import com.github.theholywaffle.teamspeak3.api.event.ClientJoinEvent;
3539
import com.github.theholywaffle.teamspeak3.api.event.ClientLeaveEvent;
3640
import com.github.theholywaffle.teamspeak3.api.event.ClientMovedEvent;
@@ -94,6 +98,22 @@ public void onChannelDescriptionChanged(
9498
// ...
9599

96100
}
101+
102+
public void onChannelCreate(ChannelCreateEvent e) {
103+
104+
}
105+
106+
public void onChannelDeleted(ChannelDeletedEvent e) {
107+
108+
}
109+
110+
public void onChannelMoved(ChannelMovedEvent e) {
111+
112+
}
113+
114+
public void onChannelPasswordChanged(ChannelPasswordChangedEvent e) {
115+
116+
}
97117
});
98118

99119
}

src/main/java/com/github/theholywaffle/teamspeak3/example/ChatBotExample.java

Lines changed: 0 additions & 161 deletions
This file was deleted.

src/main/java/com/github/theholywaffle/teamspeak3/example/EventListenerExample.java

Lines changed: 0 additions & 142 deletions
This file was deleted.

0 commit comments

Comments
 (0)