소스 검색

removed debug prints

tags/v1.3.1
roxie 6 년 전
부모
커밋
acafa02831
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. +0
    -1
      cogs/reddit.py

+ 0
- 1
cogs/reddit.py 파일 보기

@@ -181,7 +181,6 @@ class Reddit():
for x in range(10):
choice = random.choice(links)
title = "**{}** from /r/{}\n".format(choice["data"]["title"], subreddit)
print(checks.is_nfsw_enabled())
if choice["data"]["over_18"] and not checks.nsfw_predicate(ctx):
return await self.bot.say("This server/channel doesn't have my NSFW stuff enabled. This extends to posting NFSW content from Reddit.")
url = Scrapper().retriveurl(choice["data"]["url"])

Loading…
취소
저장