cli: Only show channels id when a channel is created
This commit is contained in:
parent
7d7d55099e
commit
71a9040eba
|
@ -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" {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user