Browse Source

Allow simple reactions when ID is supplied

pull/1/head
Gregory Rudolph 5 years ago
parent
commit
bac6894d49
  1. 2
      cmdReact.go

2
cmdReact.go

@ -19,7 +19,7 @@ func init() { @@ -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])

Loading…
Cancel
Save