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

[V3 Mod] Fix wrong reason used for modlog #1842

Merged
merged 2 commits into from
Jul 12, 2018

Conversation

laggron42
Copy link
Contributor

@laggron42 laggron42 commented Jun 10, 2018

Type

  • Bugfix
  • Enhancement
  • New feature

Description of the changes

For the actions taken in the mod cog, an audit_reason value is created for the audit logs. However, in the unban command, that audit_ is missing, so the reason used in modlog looks like this:

screen shot 2018-06-10 at 12 15 21

That PR replace reason by audit_reason when getting the audit informations.

@palmtree5 palmtree5 added the V3 label Jun 10, 2018
@palmtree5 palmtree5 added this to the Beta 17 milestone Jun 10, 2018
@Kowlin Kowlin merged commit 43c7bd4 into Cog-Creators:V3/develop Jul 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants