Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove !!/commands, replace with wiki link in !!/help #51

Merged
merged 1 commit into from Apr 6, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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")