|
|
@ -202,8 +202,6 @@ func staticCommandHandler(rtm *slack.RTM, ev *slack.MessageEvent, redisClient *r |
|
|
|
rnghandler(rtm, ev, redisClient) |
|
|
|
rnghandler(rtm, ev, redisClient) |
|
|
|
case "listen": |
|
|
|
case "listen": |
|
|
|
rtm.SendMessage(rtm.NewOutgoingMessage("*it's what you hearin*", ev.Channel)) |
|
|
|
rtm.SendMessage(rtm.NewOutgoingMessage("*it's what you hearin*", ev.Channel)) |
|
|
|
case "version": |
|
|
|
|
|
|
|
rtm.SendMessage(rtm.NewOutgoingMessage("command not yet supported", ev.Channel)) |
|
|
|
|
|
|
|
case "lorelist": |
|
|
|
case "lorelist": |
|
|
|
listhandler(redisClient, rtm, ev, "lore", "added") |
|
|
|
listhandler(redisClient, rtm, ev, "lore", "added") |
|
|
|
case "removedlore": |
|
|
|
case "removedlore": |
|
|
|