Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

merged 3 commits into from Aug 30, 2019


Copy link

@Flame442 Flame442 commented Aug 25, 2019

Uses the same error message as [p]help


  • Bugfix
  • Enhancement
  • New feature

Description of the changes

Adds a try/except to the [p]invite command that sends the same warning message as [p]help when a user has the bot blocked or DMs disabled in the server.

@Flame442 Flame442 requested a review from tekulvw as a code owner Aug 25, 2019
@Flame442 Flame442 requested a review from Twentysix26 as a code owner Aug 25, 2019
@mikeshardmind mikeshardmind merged commit efcf91e into Cog-Creators:V3/develop Aug 30, 2019
1 check passed
@Flame442 Flame442 deleted the patch-1 branch Aug 30, 2019
@mikeshardmind mikeshardmind added this to the 3.2.0 milestone Aug 30, 2019
@jack1142 jack1142 added the Type: Bug label Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Type: Bug
None yet

Successfully merging this pull request may close these issues.

None yet

3 participants