v2024.07.06
Application
Will now properly reject appliactions from people who have left the server
Duck
Will now show the could have been time if you miss
Factoids
Adds a config to force disable all embeds, relying only on text
Fixes looping restricted factoids
Deprecates .factoid all
Makes /factoid all, a much more powerful factoid all command
htd
Restructured the file, no functionality change
Logger
Will now log a WARN if reuploading files failed
Modmail
If a message was edited without changing content, nothing is sent to the mods
The error message for a user not being in the guild was made more clear
Protect
Will now log a WARN if reuploading files failed
Winerror
Winerror is now paginated per category, with a maximum of 10 errors per page
Voting
New extension. Allows for blind and anonymous mod votes
Other
Type hints and doc strings have been standardized and added to every function
Workflows
Add a flake8 workflow
Unit tests
Improved the htd unit tests
Dependencies
discord.py -> 2.4.0
inflect -> 7.3.1
hypothesis -> 6.105.0
pip -> 24.1.1
pipenv -> 2024.0.1
pytest -> 8.2.2
pytest-asyncio -> 0.23.7
New Dependencies
flake8 = "==7.1.0"
flake8-annotations = "==3.1.1"
flake8-bugbear = "==24.4.26"
flake8-docstrings-complete = "==1.3.0"
flake8-modern-annotations = "==1.6.0"
flake8-variables-names = "==0.0.6"
pydoclint = "==0.4.1"
What's Changed
- Adds proper type hints to every argument in every function, and every return value by @ajax146 in #967
- Bump hypothesis from 6.100.2 to 6.103.0 by @dependabot in #1018
- Bump pytest from 8.2.0 to 8.2.1 by @dependabot in #1010
- Bump pytest-asyncio from 0.23.6 to 0.23.7 by @dependabot in #1011
- Bump pipenv from 2023.12.1 to 2024.0.1 by @dependabot in #1033
- Update every doc string to describe what the function or class does with numpy standards by @ajax146 in #1003
- Add flake8 and some plugins by @ajax146 in #945
- Add old workflows back by @ajax146 in #1044
- Reupload failed is now a warning not an info by @ajax146 in #1042
- Times on misses on ducks now by @ajax146 in #1041
- Removes content was unchanged from modmail by @ajax146 in #1040
- Improve error message by @ajax146 in #1039
- Disable embeds config, fix restricted loops by @ajax146 in #1038
- Add a try/except to application fetch member by @ajax146 in #1037
- Bump hypothesis from 6.103.0 to 6.103.1 by @dependabot in #1029
- Bump pytest from 8.2.1 to 8.2.2 by @dependabot in #1028
- Bump hypothesis from 6.103.1 to 6.103.2 by @dependabot in #1050
- Bump flake8 from 7.0.0 to 7.1.0 by @dependabot in #1049
- Bump flake8-annotations from 3.0.1 to 3.1.1 by @dependabot in #1048
- Bump flake8-bugbear from 24.2.6 to 24.4.26 by @dependabot in #1047
- Bump Discord.py to version 2.4.0 by @ajax146 in #1055
- Bump hypothesis from 6.103.2 to 6.104.0 by @dependabot in #1056
- Bump pip from 24.0 to 24.1 by @dependabot in #1051
- Adds a /voting command with the ability to do blind or anonymous voting by @ajax146 in #1035
- Fix grabs random nsfw check by @ajax146 in #1045
- Bump hypothesis from 6.104.0 to 6.105.0 by @dependabot in #1070
- Bump inflect from 7.2.1 to 7.3.1 by @dependabot in #1066
- Bump pip from 24.1 to 24.1.1 by @dependabot in #1062
- Moves functions around in htd.py, makes unit tests better by @ajax146 in #1058
- Make winerror paginated by @TheKrol in #1015
- Raise ValueError on empty message by @ajax146 in #1046
- Make factoid all into a slash command by @ajax146 in #1036
Full Changelog: v2024.04.30...v2024.07.06