1
0
Fork 0
mirror of synced 2024-05-07 06:02:24 +12:00

e621 now provides just an empty list as their posts, handle this

This commit is contained in:
Dan Hess 2020-08-12 20:36:40 -05:00
parent c671093a16
commit 06ecc7bcc3

View file

@ -286,6 +286,9 @@ class Images(commands.Cog):
await ctx.send("No results with that tag {}".format(ctx.message.author.mention))
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):
bot.add_cog(Images(bot))