소스 검색

Disabling auto-linker.

tags/v0.1^2
Ben Kurtovic 13 년 전
부모
커밋
27867763eb
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. +4
    -3
      earwigbot/commands/link.py

+ 4
- 3
earwigbot/commands/link.py 파일 보기

@@ -30,9 +30,10 @@ class Command(BaseCommand):
name = "link"

def check(self, data):
if ((data.is_command and data.command == "link") or
(("[[" in data.msg and "]]" in data.msg) or
("{{" in data.msg and "}}" in data.msg))):
# if ((data.is_command and data.command == "link") or
# (("[[" in data.msg and "]]" in data.msg) or
# ("{{" in data.msg and "}}" in data.msg))):
if data.is_command and data.command == "link":
return True
return False



불러오는 중...
취소
저장