Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

feat: Support auto-mod #477

Merged
merged 2 commits into from
May 13, 2022
Merged

feat: Support auto-mod #477

merged 2 commits into from
May 13, 2022

Conversation

LordOfPolls
Copy link
Member

What type of pull request is this?

  • Non-breaking code change
  • Breaking code change
  • Documentation change/addition
  • Tests change

Description

Adds support for known auto mod event types, and renames the existing message type.

This PR is untested, however should work - information from discord/discord-api-docs#4860

Breaking as it renames the AUTO_MOD message type to AUTO_MODERATION_ACTION to match spec.

Changes

  • Add new audit log event types
  • 💥Rename auto mod message type

Checklist

  • I've formatted my code with Black
  • I've ensured my code works on Python 3.10.x
  • I've tested my code

the api refers to it as AUTO_MODERATION_ACTION  not the placeholder of `AUTO_MOD`
@Wolfhound905
Copy link
Collaborator

Wolfhound905 commented May 12, 2022

✅- Tested, working with the audit log, and has the updated MessageType. #478 is an addition to this pr

@LordOfPolls LordOfPolls merged commit 7e52d12 into naff May 13, 2022
@LordOfPolls LordOfPolls deleted the auto-mod branch May 13, 2022 07:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants