Skip to content

Conversation

@ThePheggHerself
Copy link
Contributor

Fixes issue #2686

Swaps the 1st and 2nd parameter around to allow more than 1 action to be registered per rule (And prevents any attempts to register 0 actions per rule)

Fixes an issue where you cannot register more than 1 automod rule due to the limit and length of the rules being inverted (This also has the side effect of allowing you to attempt to register 0 actions, resulting in a 50035 invalid body error)
Copy link
Member

@quinchs quinchs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Misha-133 you have to test your code works, bugs like this shouldn't get included into dev..

@quinchs quinchs merged commit 200bed7 into discord-net:dev Jun 11, 2023
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.

2 participants