Skip to content

v2023.07.22

Compare
Choose a tag to compare
@ajax146 ajax146 released this 22 Jul 11:35
· 294 commits to main since this release
0adc773

Core features
TS will now log role changes
Errors over 1000 characters will now be cropped in the channel deny message
Added type hints to base.BaseCog
Help menu is now sorted alphabetically
.bot is now inline
.bot shows IRC connection info
.reboot actually works now
All RabbitMQ features have been removed from the bot
Config patch is instantly applied now

Application
No longer sends data to IRC

ChatGPT
Add docstrings/comments
Fix a bug with a missing return
Some minor improvements/refactors

Directory
Has been removed

Duck
Fix missing space in DM when a miss occurs
Timeout now matches the configued cooldown
Fixed a small typo in the help message

DumpDBG
Won't fail silenty if no roles are set anymore

Embed
Minor code refactor

Emoji
Emoji now errors when reactions would be above 20

Factoids
New command: .factoid search. Search factoids for name and/or content
New command: .factoid flush. Admin only, clears cache
Delooping a factoid takes effect instantly now
Anyone with admin perms can now request hidden factoids using factoid all
Factoids with active loops can now be deleted or modified
If debug logs are enabled, invalid factoid calls are logged
Factoid all is now cached
Factoids can no longer be created with spaces in the name
Factoids can no longer have HTML tags in the name or text
Factoids that are too long now throw an error
Factoid fallback now works properly in both manual and looped calls
Factoid all now has some simple CSS styling
All factoids are now case insensitive
Factoids are actually modified in the db instead of being recreated
Aliases will not longer be deleted if forget is declined
Factoids will now reply to the invoker
Removed factoid response processing
Fixed some output inconsistencies

Hangman
Minor refactor

Logger
Will no longer show a discriminator of 0

Member
New Module
Anyone with manage roles can get a dump of all members with a given role

Protect
Make error responses from the bot say the correct negative action
Auto actions will now ping the offender again

Relay
Has been completely rewritten from scratch. IRC is now built directly into the bot
IRC links are now stored in postgres
New .irc ban command allows anyone with ban members to ban people on IRC
IRC embeds will now show hostmask

Role
Slash commands are now logged in bot events

Who
Shows a more descriptive error if no roles are setup
Slash commands are now logged in bot events

WYR
Major code refactor
Performance improvements

Dependencies
Locked pip version, starting with 23.2
Added bidict and irc as dependencies
Removed aio-pika
black -> 23.7.0
gitpython -> 3.1.32
hypothesis -> 6.82.0
pipenv -> 2023.7.11
pydantic -> 2.0.3
pytest-asyncio -> 0.21.1
pyyaml -> 6.0.1

Unit tests
Add a cleanup step in some tests to avoid conflict and start every test with a clean slate
Added a MockReaction object
Message now has a reactions variable and an add_reaction function
Added 4 new unit tests for emoji
Added 7 unit tests for WYR

Other
make devbuild has been Added
The Makefile will now use docker-compose or docker compose dynamically
Fixed make lint
Unused battle.net config items were removed from the default config
New IRC entries in the config.yml file have been added
RabbitMQ was removed from the docker container

4551f52...v2023.07.22