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

[Core] Fix error message about guild-only command and add dm-only error message #3057

Merged
merged 2 commits into from Oct 16, 2019

Conversation

jack1142
Copy link
Member

@jack1142 jack1142 commented Oct 13, 2019

Type

  • Bugfix
  • Enhancement
  • New feature

Description of the changes

"That command is not available in DMs." error message wasn't showing up because of wrong order of isinstance calls.

I also decided to add an error message for dm-only messages and figured there's no point in doing 2 separate PRs for a change in practically the same place.

@mikeshardmind mikeshardmind added this to the 3.2.0 milestone Oct 13, 2019
Copy link
Contributor

@mikeshardmind mikeshardmind left a comment

👍

@mikeshardmind mikeshardmind merged commit d42a2d5 into Cog-Creators:V3/develop Oct 16, 2019
1 check passed
@jack1142 jack1142 deleted the V3/issue_3057 branch Nov 8, 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
Labels
Type: Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants