updated docs

This commit is contained in:
Krzysztof Jagiello
2011-06-04 23:03:21 +02:00
parent 43b4c02e5b
commit a870615553

View File

@@ -34,7 +34,7 @@ Example showing how to create a channel and sub-channel for it using python-ts3
response = server.send_command('channelcreate', keys={'channel_name': 'Just some channel'})
# id of the newly created channel
channel_id = response.response['keys']['cid']
channel_id = response.data['keys']['cid']
# create a sub-channel
server.send_command('channelcreate', keys={'channel_name': 'Just some sub-channel', 'cpid': channel_id})