Browse Source

Remove unused command from switch

develop
Matthew Faltys 7 years ago
parent
commit
7d624ef232
  1. 2
      lorebot/lorebot.go

2
lorebot/lorebot.go

@ -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":

Loading…
Cancel
Save