benediktschmitt/py-ts3

ChannelCreate not working

Closed this issue · 5 comments

Hello,
I have a problem with creating channels.
When I am doing this command:
ts3conn.channelcreate(channel_name="test channel", channel_flag_permanent=True)
library does't return the CID of the newly created channel, how to get it?

The cid is in the TS3Response object channelcreate returns.

So this should work:

resp = ts3conc.channelcreate(channel_name="test channel", channel_flag_permanent=True)
print(resp[0]['cid'])

I have this error when I try to listen:

ts3conn.servernotifyregister(event="server", id_=0)
ts3conn.servernotifyregister(event="channel", id_=0) # error is related to this, when I remove it, it all works

Hi, can I close this issue?

The problem with servernotifyregister still occurs, but this isn't a big problem.