Catch discord.errors.Forbidden when DMing a user the invite message (#2948)

* Catch discord.errors.Forbidden when DMing a user the invite message

Uses the same error message as `[p]help`

* Create 2948.bugfix.rst

* You saw nothing
This commit is contained in:
Flame442
2019-08-29 21:19:19 -04:00
committed by Michael H
parent b8a7a66566
commit efcf91e934
2 changed files with 8 additions and 1 deletions

View File

@@ -0,0 +1 @@
The [p]invite command no longer errors when a user has the bot blocked or DMs disabled in the server.