mirror of
https://github.com/Rudi9719/kbtui.git
synced 2026-03-22 05:17:27 +00:00
Show command used instead of hardcoded reply
This commit is contained in:
@ -22,7 +22,7 @@ func init() {
|
|||||||
func cmdReply(cmd []string) {
|
func cmdReply(cmd []string) {
|
||||||
chat := k.NewChat(channel)
|
chat := k.NewChat(channel)
|
||||||
if len(cmd) < 2 {
|
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
|
return
|
||||||
}
|
}
|
||||||
messageID, err := strconv.Atoi(cmd[1])
|
messageID, err := strconv.Atoi(cmd[1])
|
||||||
|
|||||||
Reference in New Issue
Block a user