Add uid to channel message

This commit is contained in:
Peter Stuifzand 2018-05-13 19:38:27 +02:00
parent 0a6841d9b9
commit 28e5f4d7be

View File

@ -179,7 +179,7 @@ Commands:
if uid == "-delete" { if uid == "-delete" {
uid = commands[2] uid = commands[2]
sub.ChannelsDelete(uid) sub.ChannelsDelete(uid)
fmt.Println("Channel deleted") fmt.Printf("Channel %s deleted\n", uid)
} else { } else {
name := commands[2] name := commands[2]
channel := sub.ChannelsUpdate(uid, name) channel := sub.ChannelsUpdate(uid, name)