Skip to content

Commit

Permalink
Ok, let's actually get our head screwed on straight
Browse files Browse the repository at this point in the history
  • Loading branch information
hagmonk committed May 22, 2017
1 parent eff5673 commit 64a3efa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/repl_bot/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
user (get-in data ["author" "username"])]
(when (and (= (some-> channel str Long/parseLong) 315213511120912386)
(not (re-find #"^\s*=>" command))
(not (re-find #"^\s*;"))
(not (re-find #"^\s*\(comment"))
(not (re-find #"^\s*;" command))
(not (re-find #"^\s*\(comment" command))
(not (= user "repl-bot")))
(discord/answer data (some-> command eval-request :result last)))))

Expand Down

0 comments on commit 64a3efa

Please sign in to comment.