Skip to content

Commit

Permalink
Merge pull request #51 from JC3/master
Browse files Browse the repository at this point in the history
Remove !!/commands, replace with wiki link in !!/help
  • Loading branch information
thomas-daniels committed Apr 6, 2015
2 parents a85a912 + 357d897 commit f309add
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions chatcommunicate.py
Expand Up @@ -11,7 +11,7 @@
from utcdate import UtcDate

# Please note: If new !!/ commands are added or existing ones are modified, don't forget to
# update the command list response to !!/commands.
# update the wiki at https://github.com/Charcoal-SE/SmokeDetector/wiki/Commands.


def post_message_in_room(room_id_str, msg, length_check=True):
Expand Down Expand Up @@ -299,10 +299,8 @@ def watcher(ev, wrap2):
elif "pending" in states or not states:
ev.message.reply("CI build is still pending, wait until the build has finished and then pull again.")
if content_lower.startswith("!!/help"):
ev.message.reply("I'm [SmokeDetector](https://github.com/Charcoal-SE/SmokeDetector), a bot that detects spam and low-quality posts on the network and posts alerts to chat. Type !!/commands for a command list.")
ev.message.reply("I'm [SmokeDetector](https://github.com/Charcoal-SE/SmokeDetector), a bot that detects spam and low-quality posts on the network and posts alerts to chat. A command list is available [here](https://github.com/Charcoal-SE/SmokeDetector/wiki/Commands).")
if content_lower.startswith("!!/apiquota"):
ev.message.reply(GlobalVars.apiquota)
if content_lower.startswith("!!/queuestatus"):
ev.message.reply(GlobalVars.bodyfetcher.print_queue())
if content_lower.startswith("!!/commands"):
ev.message.reply("[Commands](https://github.com/Charcoal-SE/SmokeDetector/wiki/Commands): addblu, rmblu, addwlu, rmwlu, wut, lick, hats, alive, rev, status, reboot, stappit, master, clearbl, block, unblock, errorlogs, pull, help, apiquota, queuestatus, so2015, commands")

0 comments on commit f309add

Please sign in to comment.