Anjani

Latest version: v2.14.19

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

Scan your dependencies

Page 9 of 11

2.3

What's new
* Updated to Pyrogram v2 (93)
* SpamPrediction: Added button to ban on spam alert message

Fixes
* Several fixes after Pyrogram update

Misc
* language: add id locale for filters
* SpamPrediction: Lower spam message threshold to .8
* SpamPrediction: Improve pre-spam checking logic
* Type hint fixes

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

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.

Page 9 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.