cli: Only show channels id when a channel is created

This commit is contained in:
Peter Stuifzand 2018-06-30 15:57:21 +02:00
parent 7d7d55099e
commit 71a9040eba
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -182,7 +182,7 @@ Commands:
if len(commands) == 2 && commands[0] == "channels" { if len(commands) == 2 && commands[0] == "channels" {
name := commands[1] name := commands[1]
channel := sub.ChannelsCreate(name) channel := sub.ChannelsCreate(name)
fmt.Printf("Channel created %s %s\n", channel.Name, channel.UID) fmt.Printf("%s\n", channel.UID)
} }
if len(commands) == 3 && commands[0] == "channels" { if len(commands) == 3 && commands[0] == "channels" {