Skip to content

Releases: userbotindo/Anjani

Anjani v2.1.1

16 Feb 10:37
Compare
Choose a tag to compare

Fixes:

  • core: event_dispatcher: Fix typo on error logging

Anjani v2.1

14 Feb 07:55
Compare
Choose a tag to compare

What's New

  • Add ChatMember update handler (@MrMissx in #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 #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 #71)

Full Changelog: v2.0...v2.1

Anjani v2.0

04 Dec 12:11
Compare
Choose a tag to compare

Major Changes

  • Anjani Core rebased. (see docs for more info)
    • Command function now uses ~anjani.command.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.
  • Add goodbye message.
  • Add Anjani error constructor.
  • Add custom command argument passing and 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

Anjani v1.3.3

24 Jun 15:39
Compare
Choose a tag to compare

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.

Anjani v1.3.2

22 Jun 10:57
Compare
Choose a tag to compare

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 89009a1).
  • tools: Fix a bug when dogbin 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 301be65).
  • Migrate all pasting command from Nekobin to Dogbin.
  • 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

Anjani v1.3.1

15 Jun 11:17
Compare
Choose a tag to compare

Bug Fixes

  • welcome: fix bug when chat have no welcome data
  • federation: fix /delfed string

Anjani v1.3.0

23 May 07:37
Compare
Choose a tag to compare

New Features:

  • Add reporting plugin.
  • Add federation plugin.

Fixes

  • Fix /log incorect file path when only 1 log exist.
  • Simplify number seperator using built in python formatting.
  • Handle non accessible chat on permission check.

Anjani v1.1.2

06 Apr 17:22
Compare
Choose a tag to compare

Fixes

  • Handle log error if message not modified when clicking help button.
  • Always send the log file if the log file only exist one.
  • Fix not logged error that make the bot stop.

Anjani v1.1.1

04 Apr 13:53
Compare
Choose a tag to compare
  • /slap takes argument for the caption

Anjani v1.1.0

30 Mar 18:01
Compare
Choose a tag to compare

New Features

  • Added button support for welcome message.
  • Added new args ("true" and "false") to /cleanservice command.
  • Added /slap command (slap a user with animation).

Bug Fixes

  • Fixed unnecessarily error message sended after changing /cleanservice setting.