Skip to content

2.5.0 [More Cogs, YT-dlp speed-up, Events...]

Latest
Compare
Choose a tag to compare
@maj113 maj113 released this 23 Jul 20:28
· 262 commits to master since this release
0045e20

Woo much smaller release this time :P

Changes in angel6.py:

  • Added more logging events:

    • on_member_update: Show nick and role changes
    • on_message_edit: Shows before and after edit and the link to the message
    • on_member_ban, on_member_unban: Show when someone gets banned/unbanned
  • Remove gif and giflist:

    • Replace with Tag and Taglist,
    • Use Json instead of hardcoding,
    • Convert to use the Json,
    • Add the ability to create, remove and edit new tags from discord
  • Split main file into cogs:

    • botlogging: Anything related to discord logging events
    • fun: Any command that increases one's dopamine :P
    • moderation: All commands that are moderation related
    • system: Any command that's used to interface with the bot
    • utility: Any command that's used to interface with the server
  • Misc changes:

    • Renamed the main file to angel6 since it's easier to import now, hopefully @GreggMutiny won't be mad
    • Some minor changes and refactoring to prepare for cog split

Changes in music.py:

  • Optimizations:

    • Massively optimized yt-dlp extractor as seen here:
      image
      Using these configs:

         "simulate": True,
         "extract_flat": True,
         "extractor_args": {
         "youtube": {
             "skip": ["dash", "hls", "translated_subs"],
             "player_client": ["android_creator"],
             "player_skip": ["configs", "webpage", "js"],
             "max_comments": [0],
         }
      },
    • Used Uvloop on Linux since it's event loop is much faster compared to Asyncio's.

  • Other changes:

    • Set no_warnings to False
    • Replace ssl_verify with nocheckcertificate since the former is deprecated
    • Relax Logger to INFO

Repo and CI changes:

  • Requirements:

    • Bumped some modules,
    • Used git versions for some modules
    • Split reqs into windows and linux
  • Assets:

    • Added assets for tag/taglist
    • Remove old gif/giflist assets
  • CI:

    • Disable Python 3.12 CIs until aiohttp fixes builds
    • Fix some Checks not running on PRs or running 2x times

Yeah I think that sums it up pretty nicely, next release will probably be 2.5.1 and it will be focused on fixing Pylint warnings in the newly split cogs

"Ching Chong Ding Dong idk I'm high as fuck man" - Maj Soklič