ソースを参照

removed print function in nsfw that was for debug.

tags/v1.6.0
Roxie Gibson 6年前
コミット
efb91b3892
1個のファイルの変更0行の追加1行の削除
  1. +0
    -1
      Roxbot/cogs/nsfw.py

+ 0
- 1
Roxbot/cogs/nsfw.py ファイルの表示

@@ -18,7 +18,6 @@ class NFSW():
# Maybe a page randomiser
limit = 200
tags = tags + self.tag_blacklist(ctx)
print(tags)
url = base_url + '/index.php?page=dapi&s=post&q=index&json=1&tags=' + tags + '&limit=' + str(limit)
req = requests.get(url, headers={'User-agent': 'RoxBot Discord Bot'})
if str(req.content) == "b''": # This is to catch any errors if the tags don't return anything because I can't do my own error handling in commands.

読み込み中…
キャンセル
保存