<commit_before>import com.github.theholywaffle.teamspeak3.TS3Api;
import com.github.theholywaffle.teamspeak3.api.TextMessageTargetMode;
import com.github.theholywaffle.teamspeak3.api.event.ChannelCreateEvent;
import com.github.theholywaffle.teamspeak3.api.event.ChannelDeletedEvent;
import com.github.theholywaffle.teamspeak3.api.event.ChannelDescriptionEditedEvent;
import com.github.theholywaffle.teamspeak3.api.event.ChannelEditedEvent;
import com.github.theholywaffle.teamspeak3.api.event.ChannelMovedEvent;
import com.github.theholywaffle.teamspeak3.api.event.ChannelPasswordChangedEvent;
import com.github.theholywaffle.teamspeak3.api.event.ClientJoinEvent;
import com.github.theholywaffle.teamspeak3.api.event.ClientLeaveEvent;
import com.github.theholywaffle.teamspeak3.api.event.ClientMovedEvent;
import com.github.theholywaffle.teamspeak3.api.event.ServerEditedEvent;
import com.github.theholywaffle.teamspeak3.api.event.TS3Listener;
import com.github.theholywaffle.teamspeak3.api.event.TextMessageEvent;

/**
 * 
 */

/**
 * @author Jacob
 *
 */
public class Main {

	TsConnection tsConnection;
	private TS3Api api;

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		new Main(args);
	}

	/**
	 * 
	 */
	private Main(String[] input) {
		 tsConnection = new TsConnection();
		 api = tsConnection.getApi();
		 
		 api.sendChannelMessage("Greetings. You're beloved " + tsConnection.getNickname() + " is online!");
		 for(String s : input) {
			 api.sendChannelMessage(s);
	        }
		 clientInfoExample();
	 }

	 public void clientInfoExample() {

		 /*for (final Client c : api.getClients()) {
			System.out.println(c.getNickname() + " in channel: "
					+ api.getChannelInfo(c.getChannelId()).getName());
		}*/

		 api.registerAllEvents();
		 api.addTS3Listeners(new TS3Listener() {

			 public void onTextMessage(TextMessageEvent e) {
				 if (e.getTargetMode() == TextMessageTargetMode.CHANNEL) {// Only
					 // react
					 // to
					 // channel
					 // messages
					 if(e.getMessage().equals("ray")) {
						 api.sendPrivateMessage(api.getClientByNameExact("<NAME>", true).getId(), "Jeg er en fluffy bot, og jeg har ingen id om hvordan jeg svare dig hvis du skriver til mig D:");
					 }
					 if (e.getMessage().equals("ping")) {
						 api.sendChannelMessage("pong");
					 }
					 if (e.getMessage().toLowerCase().contains("hello")) {
						 api.sendChannelMessage("Greetings " + e.getInvokerName());
					 }
					 if(e.getMessage().toLowerCase().contains("!exit")) {
						 api.sendChannelMessage("Goodby.");
						 System.exit(0);
					 }
				 }
			 }

			 public void onClientJoin(ClientJoinEvent e) {
				 //api.sendChannelMessage("Hey fancy man! I'm a crazy bot that does crazy shit!");
				 clientMoveMessages(e.getClientTargetId(), e.getClientId());
			 }

			 public void onServerEdit(ServerEditedEvent e) {
				 System.out.println("Server edited by " + e.getInvokerName());
			 }

			 public void onClientMoved(ClientMovedEvent e) {
				 System.out.println("Client has been moved " + e.getClientId());
				 System.out.println("Channel ID: " + e.getClientTargetId());

				 clientMoveMessages(e.getClientTargetId(), e.getClientId());
				 //System.out.println(api.getClientInfo(e.getClientId()).getNickname());
				 //System.out.println(api.getClientInfo(e.getClientId()).getUniqueIdentifier());
			 }

			 public void onClientLeave(ClientLeaveEvent e) {
				 // ...

			 }

			 public void onChannelEdit(ChannelEditedEvent e) {
				 // ...

			 }

			 public void onChannelDescriptionChanged(
					 ChannelDescriptionEditedEvent e) {
				 // ...

			 }

			 public void onChannelCreate(ChannelCreateEvent e) {

			 }

			 public void onChannelDeleted(ChannelDeletedEvent e) {

			 }

			 public void onChannelMoved(ChannelMovedEvent e) {

			 }

			 public void onChannelPasswordChanged(ChannelPasswordChangedEvent e) {

			 }
		 });
	 }

	 private void clientMoveMessages(int targetId, int clientId) {
		 if(targetId == 26) {
			 String nickname = api.getClientInfo(clientId).getNickname().toLowerCase();
			 if(nickname.contains("ray")) {
				 api.sendChannelMessage("Greetings my master, and welcome home.");
			 }
			 else if(nickname.contains("steve")) {
				 api.sendChannelMessage("Greetings you silly, silly (almost) danish talking gentleman..");
			 }
			 else if(nickname.contains("rena") || nickname.contains("alleice")) {
				 api.sendChannelMessage("Greetings o' american visitor from the magical islands");
			 }
		 }
	 }	
}<commit_msg>fixed a few things, and added two more messages<commit_after>import com.github.theholywaffle.teamspeak3.TS3Api;
import com.github.theholywaffle.teamspeak3.api.TextMessageTargetMode;
import com.github.theholywaffle.teamspeak3.api.event.ChannelCreateEvent;
import com.github.theholywaffle.teamspeak3.api.event.ChannelDeletedEvent;
import com.github.theholywaffle.teamspeak3.api.event.ChannelDescriptionEditedEvent;
import com.github.theholywaffle.teamspeak3.api.event.ChannelEditedEvent;
import com.github.theholywaffle.teamspeak3.api.event.ChannelMovedEvent;
import com.github.theholywaffle.teamspeak3.api.event.ChannelPasswordChangedEvent;
import com.github.theholywaffle.teamspeak3.api.event.ClientJoinEvent;
import com.github.theholywaffle.teamspeak3.api.event.ClientLeaveEvent;
import com.github.theholywaffle.teamspeak3.api.event.ClientMovedEvent;
import com.github.theholywaffle.teamspeak3.api.event.ServerEditedEvent;
import com.github.theholywaffle.teamspeak3.api.event.TS3Listener;
import com.github.theholywaffle.teamspeak3.api.event.TextMessageEvent;

/**
 * 
 */

/**
 * @author Jacob
 *
 */
public class Main {

	TsConnection tsConnection;
	private TS3Api api;

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		new Main(args);
	}

	/**
	 * 
	 */
	private Main(String[] input) {
		 tsConnection = new TsConnection();
		 api = tsConnection.getApi();
		 
		 api.sendChannelMessage("Greetings. Your beloved " + tsConnection.getNickname() + " is online!");
		 for(String s : input) {
			 api.sendChannelMessage(s);
	        }
		 clientInfoExample();
	 }

	 public void clientInfoExample() {

		 /*for (final Client c : api.getClients()) {
			System.out.println(c.getNickname() + " in channel: "
					+ api.getChannelInfo(c.getChannelId()).getName());
		}*/

		 api.registerAllEvents();
		 api.addTS3Listeners(new TS3Listener() {

			 public void onTextMessage(TextMessageEvent e) {
				 if (e.getTargetMode() == TextMessageTargetMode.CHANNEL) {// Only
					 // react
					 // to
					 // channel
					 // messages
					 if(e.getMessage().equals("ray")) {
						 api.sendPrivateMessage(api.getClientByNameExact("<NAME>", true).getId(), "Jeg er en fluffy bot, og jeg har ingen id om hvordan jeg svare dig hvis du skriver til mig D:");
					 }
					 if (e.getMessage().equals("ping")) {
						 api.sendChannelMessage("pong");
					 }
					 if (e.getMessage().toLowerCase().contains("hello")) {
						 api.sendChannelMessage("Greetings " + e.getInvokerName());
					 }
					 if(e.getMessage().toLowerCase().contains("!exit")) {
						 api.sendChannelMessage("Goodbye.");
						 System.exit(0);
					 }
				 }
			 }

			 public void onClientJoin(ClientJoinEvent e) {
				 //api.sendChannelMessage("Hey fancy man! I'm a crazy bot that does crazy shit!");
				 clientMoveMessages(e.getClientTargetId(), e.getClientId());
			 }

			 public void onServerEdit(ServerEditedEvent e) {
				 System.out.println("Server edited by " + e.getInvokerName());
			 }

			 public void onClientMoved(ClientMovedEvent e) {
				 System.out.println("Client has been moved " + e.getClientId());
				 System.out.println("Channel ID: " + e.getClientTargetId());

				 clientMoveMessages(e.getClientTargetId(), e.getClientId());
				 //System.out.println(api.getClientInfo(e.getClientId()).getNickname());
				 //System.out.println(api.getClientInfo(e.getClientId()).getUniqueIdentifier());
			 }

			 public void onClientLeave(ClientLeaveEvent e) {
				 // ...

			 }

			 public void onChannelEdit(ChannelEditedEvent e) {
				 // ...

			 }

			 public void onChannelDescriptionChanged(
					 ChannelDescriptionEditedEvent e) {
				 // ...

			 }

			 public void onChannelCreate(ChannelCreateEvent e) {

			 }

			 public void onChannelDeleted(ChannelDeletedEvent e) {

			 }

			 public void onChannelMoved(ChannelMovedEvent e) {

			 }

			 public void onChannelPasswordChanged(ChannelPasswordChangedEvent e) {

			 }
		 });
	 }

	 private void clientMoveMessages(int targetId, int clientId) {
		 if(targetId == 26) {
			 String nickname = api.getClientInfo(clientId).getNickname().toLowerCase();
			 if(nickname.contains("ray")) {
				 api.sendChannelMessage("Greetings my master, and welcome home.");
			 }
			 else if(nickname.contains("steve")) {
				 api.sendChannelMessage("Greetings you silly, silly (almost) danish talking gentleman..");
			 }
			 else if(nickname.contains("rena") || nickname.contains("alleice")) {
				 api.sendChannelMessage("Greetings, o' american visitor from the magical islands");
			 }
			 else if(nickname.contains("chifilly")) {
				 api.sendChannelMessage("Greetings, silly script kid!");
			 }
			 else if(nickname.contains("q11")) {
				 api.sendChannelMessage("*sigh* It's that guy again..");
			 }
		 }
	 }	
}
{'fraction_non_alphanumeric': 0.13187763485028645, 'fraction_numerical': 0.00497243541238785, 'mean_word_length': 3.6586102719033233, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7168842', 'n_tokens_mistral': 3451, 'n_tokens_neox': 2758, 'n_words': 493}