Skip to content

Releases: ZiRO-Bot/Z3R0

v3.7.0: Into the Multilingual Era

21 Jul 04:15
9ac52a5
Compare
Choose a tag to compare
  • [Added] Implemented i18n using Project Fluent
    • Currently only supports ID and EN
  • [Changed] Updated discord.py to 2.3.1, it's now support Discord's latest stupid decision™! (Username)

Internal Changes

  • [Added] Users table model
  • [Added] Add locale column/field to GuildConfigs table model
  • [Changed] RandomAPI is merged with Nexus

v3.6.3: Docker Hotfix

16 Apr 03:42
a4473a6
Compare
Choose a tag to compare
  • [Fixed] shutil.rmtree cause OSError in Docker environment

v3.6.2: Project Structure Overhaul - Part 2

15 Apr 23:28
c9c3a8f
Compare
Choose a tag to compare
  • [Removed] Flake8 no longer used for linting, pyright will handle this job instead
  • [Added] Database Migration with aerich
  • [Added] Database Data Migration
  • [Changed] Rename utils/other.py to utils/__init__.py
  • [Changed] Move GreetingFlag into admin._flags

v3.6.1: Project Structure Overhaul - Part 1.5

16 Mar 11:47
36f4ca9
Compare
Choose a tag to compare
  • [Fixed] Fixed issues related to import tse
  • [Fixed] Aerich caused the bot to crash in production environment

v3.6.0: Project Structure Overhaul - Part 1

16 Mar 10:59
f5bb586
Compare
Choose a tag to compare

Bugfixes

  • [Fixed] Fixed potential error related to user without avatar
  • [Fixed] >findseed command throws error when invalid mode is given
    instead of falling back to visual
  • [Fixed] Error while changing changelog caused by unhandled parent
    directories
  • [Fixed] Prefix list no longer being sent when bot is mentioned
  • [Fixed] Some command doesn't show its full description in Help Page

Additions

  • [Added] Add {args} tag block

Improvements

  • [Improved] Docker ignores src/test
  • [Improved] Docker no longer install development tools
  • [Improved] Moved tseBlocks into TagScript module (src/tse)
  • [Improved] Moved command usage tips from footer to a new field

Internal Changes

  • [Added] Unit testing the bot using
    dpytest
  • [Improved] Initial Python v3.11 support
  • [Changed] Merge TagScript into Z3R0 repository
  • [Improved] Split _model into _wrapper and _custom_command
  • [Improved] Moved Custom Command related errors into exts.meta._errors
  • [Improved] Moved JSON (and Blacklist) and Cache (and its properties) into core.data
  • [Changed] Removed CMDName
  • [Added] Initial ZeroMQ support for Dashboard
  • [Improved] ccModeCheck is now an actual check (hasCCPriviledge)
  • [Improved] CustomCommand is now a converter

v3.5.4: Bugfix

15 Feb 02:01
1b6aeb9
Compare
Choose a tag to compare
  • [Fixed] Prefixes is not loaded properly

v3.5.3: Docker Fix

14 Feb 11:34
a3b56d6
Compare
Choose a tag to compare
  • [Fixed] Assets is missing for docker setup

v3.5.2: Chore

14 Feb 11:06
a552e68
Compare
Choose a tag to compare

Bugfixes

  • [Fixed] Guild only (slash) commands is registered to DMs
  • [Fixed] Duration parser stopped working
  • [Fixed] 1 spam is parsed as 1 seconds
  • [Fixed] >mute set command stopped working

Improvements

  • [Changed] Rename some command (only affecting for slash)
  • [Improved] Use SQLite by default when DB_URL is not specified

Internal Changes

  • [Changed] Turn monkeypatches into wrapper classes to clean up the
    codebase
  • [Improved] Add __init__.py file to clean up the codebase
  • [Fixed] Updated discord.py to v2.1.1 to fix GIF sticker support
  • [Fixed] Added missing license headers

v3.5.1: Hotfix

05 Jan 11:23
45a5937
Compare
Choose a tag to compare
  • [Fixed] Fixed some subcommands ignore parent's checks

v3.5.0

05 Jan 10:37
bc4610a
Compare
Choose a tag to compare

⚠️ DISCLAIMER FOR DEVS: THIS UPDATE (3.4.x -> 3.5.x) CONTAINS BREAKING CHANGES!

This update is mostly just migration to stable discord.py v2.0 after discord.py development is continued.
Most changes are on the code side, so it shouldn't affect users that much, other than the addition of application commands (or slash).

Starting from 3.5 ziBot will only support Python 3.10+

Bugfixes

  • [Fixed] Re-enabled meme command, fixed by itself (probably aiohttp's user-agent bug)

Addition

  • [Added] Application Commands (slash commands and more)
    Some commands will be added on later version
  • [Improved] You can now set Welcome and Farewell message using Modal (disabled, waiting for Discord to add other input types)
  • [Re-added] Re-added google search command
  • [Added] Handle timed_out to be logged on modlog

Internal Changes (Won't affect bot users)

  • [Improved / BREAKING CHANGES] Changed project structure (all source file now located in src/)
    This change breaks tortoise from loading, please change your models value from core.db into src.main.core.db!
  • [Improved] Versioning now only handled by pyproject
  • [Fixed] Adapted discord.py's asyncio changes
  • [Changed] Splitting meta into several subcogs
  • [Fixed] Dpy 2.0 remove asynciterator's flatten function
  • [Fixed] Discord paginate ban list
  • [Added] Added support for hybrid commands
  • [Improved] Moved _custom_command functions into _model.CustomCommand
  • [Added] Added Docker/Podman support
  • [Added] Added Environment Variable support for Docker
  • [Improved] Problematic commands like google search can now be hosted using ZiRO-Bot/RandomAPI