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

Setting channel parent via channeledit does not work, consider removing it. #55

Open
Splamy opened this issue Jul 14, 2020 · 1 comment

Comments

@Splamy
Copy link
Contributor

Splamy commented Jul 14, 2020

https://github.com/nikeee/TeamSpeak3QueryAPI/blob/2aaa56383231c362086e993986bad34ddc660607/src/TeamSpeak3QueryApi/Specialized/TeamSpeakClient.cs#L498

I was looking for a reference for the channeledit command since the ts3 query documentation is trash, but in the end I had to resign to try and error.
Your channeledit has an option to change the parent, but that does not work. channelmove is the only way this works.

channeledit cid=6 cpid=5
error id=1538 msg=invalid\sparameter
channeledit cid=6 channel_cpid=5
error id=1538 msg=invalid\sparameter
channeledit cid=6 channel_parent=5
error id=1538 msg=invalid\sparameter
channelmove cid=6 cpid=5
error id=0 msg=ok

Unless I'm missing anything or it is possible to use this in some weird teamspeak versions, consider removing the field and the data parameter field.

@nikeee
Copy link
Owner

nikeee commented Jul 15, 2020

Good catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants