Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey @nikeee ,
first of all thanks for your work. You did a nice job and that safes me a lot of time. I hope you aren't angry cause I´ve reconstructed your project. I needed a lot of time to see the "red line" in your code and therefore I created this structure. Also I´ve changed all your asynchronous methods with the prefix async at the end. So in future everybody nows that this method is async and need to await it. All other changes I will explain now:
Events
I´ve added three events. They are selfexplain and fixes this issue #45
Connect to Teamspeak Telnet Query
I want to know if the query telnet is really a teamspeak query so I check if the headline start with TS3. It works nice for me and should fix your problem with issue #33
Bugfix: Client is banned
I´ve found a bug that happens when you failed the login to often. In that case you will get banned from the query but with a EXTRA_MSG parameter. But you don't catch this error in your switch for now and I get a QueryProtocolException instead of a QueryExecption. That sucks for me and is here fixed.
I hope I didn't forgott to much but you can ask me when there are some questions.