mirror of
https://github.com/Rudi9719/kbtui.git
synced 2026-03-22 05:17:27 +00:00
Allow simple reactions when ID is supplied
This commit is contained in:
@ -19,7 +19,7 @@ func init() {
|
||||
}
|
||||
|
||||
func cmdReact(cmd []string) {
|
||||
if len(cmd) > 3 {
|
||||
if len(cmd) > 2 {
|
||||
reactToMessageId(cmd[1], strings.Join(cmd[2:], " "))
|
||||
} else if len(cmd) == 2 {
|
||||
reactToMessage(cmd[1])
|
||||
|
||||
Reference in New Issue
Block a user