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

Unify Block List behaviour and support blocking individual Unown letters #308

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

hanzi
Copy link
Collaborator

@hanzi hanzi commented Mar 21, 2024

Description

This strives to implement the same behaviour for block list handling in the Discord (customhooks.py) and Encounter-handling (encounter.py) code.

It also updates the block list code so that it checks both the Pokémon-specific stats label and the actual species name, i.e. it will allow both Unown (F) and Unown to be blocked.

Checklist

  • Black Linter has been ran, using --line-length 120 argument
  • Wiki has been updated (if relevant)

This strives to implement the same behaviour for block list handling in the Discord (`customhooks.py`) and Encounter-handling (`encounter.py`) code.

 It also updates the block list code so that it checks both the Pokémon-specific stats label and the actual species name, i.e. it will allow both `Unown (F)` and `Unown` to be blocked.
@hanzi hanzi merged commit 06db2a1 into 40Cakes:main Mar 21, 2024
1 check passed
@hanzi hanzi deleted the block-list-unify branch March 21, 2024 15:22
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.

3 participants