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

fix: give defaults to content vars for automod actions #600

Merged
merged 1 commit into from
Aug 12, 2022

Conversation

AstreaTSS
Copy link
Contributor

What type of pull request is this?

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

Description

Error
Discord note

Changes

  • Make matched_content and content in AutoModerationAction default to None, and adjust their typehints accordingly.

Checklist

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

@LordOfPolls LordOfPolls merged commit 3b1d954 into NAFTeam:dev Aug 12, 2022
@AstreaTSS AstreaTSS deleted the automod-action-fix branch August 14, 2022 18:20
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.

3 participants