Skip to content

Commit f309add

Browse files
Merge pull request #51 from JC3/master
Remove !!/commands, replace with wiki link in !!/help
2 parents a85a912 + 357d897 commit f309add

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

chatcommunicate.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from utcdate import UtcDate
1212

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

1616

1717
def post_message_in_room(room_id_str, msg, length_check=True):
@@ -299,10 +299,8 @@ def watcher(ev, wrap2):
299299
elif "pending" in states or not states:
300300
ev.message.reply("CI build is still pending, wait until the build has finished and then pull again.")
301301
if content_lower.startswith("!!/help"):
302-
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.")
302+
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).")
303303
if content_lower.startswith("!!/apiquota"):
304304
ev.message.reply(GlobalVars.apiquota)
305305
if content_lower.startswith("!!/queuestatus"):
306306
ev.message.reply(GlobalVars.bodyfetcher.print_queue())
307-
if content_lower.startswith("!!/commands"):
308-
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 commit comments

Comments
 (0)