Lg-rez

Latest version: v4.0.10

Safety actively analyzes 631274 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

2.2.1

Fixed

- Critical error in :func:`.features.sync.transtype` caused by
SQLAlchemy internals changes between 1.3.x and 1.4.x.
- Minor fixes in some commands docstrings.

2.2.0

Added

- New command ``!modif`` to edit a bot message;
- New commands table in :mod:`lgrez.features` doc page;
- New convenience method :func:`.blocs.env.__getattr__`.

Changed

- Extended to Python 3.10
- Bumped all requirements to their latest version

Fixed

- Diverse documentation fixes.

2.1.4

Changed

- ``!lore`` can now replace ``role_slug`` (:class:`.config.Role` attributes
only) with role mention;
- ``!doas`` can now act for players that left the server (limited range);
- Database host and name is now printed at bot startup;
- ``.gitignore`` now ignores all ``start_bot*.py`` files.

Fixed

- ``!open``/``!close``: new safety check to avoid double opening/closing;
- Added :obj:`.config.is_ready` to avoid double :meth:`.LGBot.on_ready` calls;
- Added unique constraint to :class:`.bdd.Role`-:class:`.bdd.BaseAction`
junction table to avoid duplicate rows;
- ``!boudoir``: dead players could create some and sometimes write messages in;
- ``!lore`` did not correctly detect some docs ID;
- ``!lore`` formatting failed on some specific cases (e.g bullet lists +
italic);
- ``!action``: :attr:`.bdd.UtilEtat.remplie` was sometimes used istead of
:attr:`.bdd.UtilEtat.ignoree`;
- Fixed fatal errors on :func:`.blocs.tools.private` commands warning
messages, :func:`.features.voter_agir.get_cible`, ``!infos``, and role
creation detection (if missing required roles);
- Bumped dependencies security upgrades.

2.1.3

Not secure
Changed

- ``!boudoir``: ``invite`` and ``expulse`` now take only one name as
a full argument, other various improvements;
- ``!sync``: role sync message now hides role slug.

Fixed

- :func:`.blocs.tools.private`: fixed :mod:`.blocs.one_command` bypass;
- ``!actions``: new action creation did not properly added action;
- ``!open`` / ``!close``: all open/close triggers were not triggered;
- :func:`.features.gestion_actions.close_action`: base cooldown was set
on actions even if no decision was made;

2.1.2

Not secure
Changed

- ``!annoncemort`` can now prepair several embeds and post them at once;
- ``!addIA``: new fast-add syntax and duplicate tirggers security check.

Fixed

- Error when using ``!menu`` before the game has started;
- "stop" messages were detected by every waiting functions, even if an
other chennel; this is solved by new ``chan`` keyword argument to
:func:`.blocs.tools.wait_for_message`. Dependant functions were
modified consequently; while optionnal, omitting this argument may
lead to undetected "stop" messages.

2.1.1

Not secure
Fixed

- Critical error (importing non-requied package) in ``__main__.py``;
- Bad order in inscription messages if chambre and additional step.

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.