Anjani

Latest version: v2.14.3

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

Scan your dependencies

Page 8 of 9

2.2

What's New
* Add filters plugin (87)

Fixes
* command_dispatcher: Fix bot reinvoking command when the message get reaction
* welcome: handle can't delete service message
* filters: Add chat migrate handler
* language: fix unfilled placeholder string
* welcome: Fix error when user `first_name` returns None

Misc
* Bump runtime to python 3.9.11


**Full Changelog**: https://github.com/userbotindo/Anjani/compare/v2.1.1...v2.2

2.1.1

Fixes:
* core: event_dispatcher: Fix typo on error logging

2.1

What's New
* Add ChatMember update handler (MrMissx in https://github.com/userbotindo/Anjani/pull/65)
* Add filling formatting helper
* Handle Future exception properly
* Restriction: Set 30 seconds kick by default
* Greetings: Validate message format before saving.
* Federations: Supports channel fban.

Fixes
* Ignore admin command from Anonymous channel (wulan17 in https://github.com/userbotindo/Anjani/pull/69)
* plugins: Fix several command target check
* Federation:
* Fix `/fban` error when no user specified
* Fix wrong `/fedstat` formatting
* Users: Fix `/info` when replying to channel
* SpamPrediction: Fix invalid identifiers

Misc
* spam_prediction: lower spam probability treshold for deleting message
* Fix type hinting
* License: Treewide set new year (tomyprs in https://github.com/userbotindo/Anjani/pull/71)


-----

**Full Changelog**: https://github.com/userbotindo/Anjani/compare/v2.0...v2.1

2.0

Major Changes
----------------------
- Anjani Core rebased. (see [docs](https://github.com/userbotindo/Anjani/wiki) for more info)
- Command function now uses [`~anjani.command.Context`](https://github.com/userbotindo/Anjani/wiki/Context) instead `~Pyrogram.types.Messages`.
- Command listener uses function name as invoker.
- Refactor MongoDB databases method.

New Features
----------------------
- Add new Rules plugin.
- Add new Muting plugin.
- Add new Federation plugin.
- Add new [*Spam Prediction plugin](https://github.com/userbotindo/Anjani/wiki/Spam-Prediction).
- Add goodbye message.
- Add Anjani error constructor.
- Add custom command [argument passing](https://github.com/userbotindo/Anjani/wiki/Commands#parameters) and [converters](https://github.com/userbotindo/Anjani/wiki/Converters)
- Add exception chaining to the anjani base exception.
- misc: Add pasting choice between Spacebin, Hastebin and Katbin.
- spam_shield: auto fban cas-banned user to bot native federation.

Bug Fixes
----------------------
- Fix some of new Telegram channel discussion cheking.
- welcome: Fix plugin naming on logging.
- restriction: Fix user checking.
- users: Fix user database not updated.
- _**Many more...**_

Miscelanous
---------------------
- Add independent Linux and Windows requirements.
- Add `docker-compose` services by tomyprs.
- Improve language string thanks to moon-anti and tuxo.
- Save bot session to database

---------------------
- **Full Changelog**: https://github.com/userbotindo/Anjani/compare/v1.3.3...v2.0
- More new things on [docs](https://github.com/userbotindo/Anjani/wiki).

1.3.3

Bug Fixes
----------------------
- config: Fix default download path that makes media failed to download.
- federation: Give a reply info if fed data is not found.
- federation: handle `/fban` exception when bot can't ban user.
- Fix bug when saving non text message notes.


Miscellaneous
----------------------
- Lower some logging level for better readibility.
- Add leftover helper command strings.

1.3.2

**Bug Fixes**
------------------------------
- staff_tools: Fix variable naming that made `/logs` fail to send.
- federation: Fix several string that fails when formatting.
- welcome: Fix empty chat welcome string (checkout of 89009a147a985f551c0b37cd4aa34c271042cb7f).
- tools: Fix a bug when [dogbin](https://del.dog) sites is unreachable.

**Miscellaneous**
-------------------------------
- Use Poetry (Python Dependency Management) on Docker container instead of native pip.
- Enforce to install uvloop on Docker container (We make it optional from 301be65c681afb41154d97c9160788678158a5bd).
- Migrate all pasting command from [Nekobin](https://nekobin.com) to [Dogbin](https://del.dog).
- federation: Add federation logging [`/setfedlog`, `/unsetfedlog`].
- misc: Add `/info` to fetch user data
- reporting: Change reporting method to tagging the group admins in the message. Avoiding sending a bunch of message to each admin PM's

Page 8 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.