updated docs

This commit is contained in:
Krzysztof Jagiello
2011-06-06 16:59:57 +02:00
committed by Andrew Williams
parent ec2a030d1b
commit 0661e36fdc

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.data[0]['keys']['cid']
channel_id = response.data['cid']
# create a sub-channel
server.send_command('channelcreate', keys={'channel_name': 'Just some sub-channel', 'cpid': channel_id})