Browse Source

Show command used instead of hardcoded reply

pull/21/head^2
Gregory Rudolph 5 years ago
parent
commit
cc129d466f
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 2
      cmdReply.go

2
cmdReply.go

@ -22,7 +22,7 @@ func init() { @@ -22,7 +22,7 @@ func init() {
func cmdReply(cmd []string) {
chat := k.NewChat(channel)
if len(cmd) < 2 {
printToView("Feed", fmt.Sprintf("%sreply $ID - Reply to message $ID", cmdPrefix))
printToView("Feed", fmt.Sprintf("%s%s $ID - Reply to message $ID", cmdPrefix, cmd[0]))
return
}
messageID, err := strconv.Atoi(cmd[1])

Loading…
Cancel
Save