Allow simple reactions when ID is supplied

This commit is contained in:
Gregory Rudolph
2019-10-07 13:48:31 -04:00
parent c4478ccd92
commit bac6894d49

View File

@ -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])