1
0
Fork 0
mirror of synced 2024-06-03 03:04:33 +12:00

Removed printing of URL; error has been corrected

This commit is contained in:
phxntxm 2016-07-20 17:05:13 -05:00
parent 5eef079ddf
commit c5dd7a1cee

View file

@ -244,7 +244,7 @@ class Core:
tags = tags.replace(' ', '_')
tags = tags.replace(',_', '%20')
url = 'https://e621.net/post/index.json?tags={}'.format(tags)
await self.bot.say("Attempting to find an image from the URL: {}".format(url))
if ctx.message.server.id in config.getContent('nsfw_channels'):
url += "%20rating:explicit"
else: