Skip to content

Anjani v2.0

Compare
Choose a tag to compare
@MrMissx MrMissx released this 04 Dec 12:11
· 770 commits to master since this release

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