e621 now provides just an empty list as their posts, handle this
This commit is contained in:
parent
c671093a16
commit
06ecc7bcc3
|
@ -286,6 +286,9 @@ class Images(commands.Cog):
|
||||||
await ctx.send("No results with that tag {}".format(ctx.message.author.mention))
|
await ctx.send("No results with that tag {}".format(ctx.message.author.mention))
|
||||||
return
|
return
|
||||||
|
|
||||||
|
# If we're here then there was nothing in the posts, or nothing found that's not blacklisted
|
||||||
|
await ctx.send("No results with that tag {}".format(ctx.message.author.mention))
|
||||||
|
|
||||||
|
|
||||||
def setup(bot):
|
def setup(bot):
|
||||||
bot.add_cog(Images(bot))
|
bot.add_cog(Images(bot))
|
||||||
|
|
Loading…
Reference in a new issue