1
0
Fork 0
mirror of synced 2024-05-18 11:32:26 +12:00

Catch HTTPExceptions as this usually means an explicit word was sent

This commit is contained in:
phxntxm 2017-05-29 16:33:31 -05:00
parent 7c30ed595a
commit 1cc88ce6ab

View file

@ -409,7 +409,7 @@ class Music:
embed = entry.to_embed()
embed.title = "Enqueued song!"
await ctx.send(embed=embed)
except discord.Forbidden:
except (discord.Forbidden, discord.HTTPException):
pass
@commands.command(pass_context=True)