Catch HTTPExceptions as this usually means an explicit word was sent
This commit is contained in:
parent
7c30ed595a
commit
1cc88ce6ab
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue