Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

Commit for 2.4.0 #4

Merged
merged 1 commit into from
Jul 11, 2022
Merged

Commit for 2.4.0 #4

merged 1 commit into from
Jul 11, 2022

Conversation

fdnt7
Copy link
Owner

@fdnt7 fdnt7 commented Jul 11, 2022

Lyra is now open sourced with the GPL-3.0 license

The lyra reposity now have a sponsor button, linked to Teammie's ko-fi

? minor .gitignore & .dockerignore changes

  • changes and organized imports
  • abolished the usage of global keywords
    | + added globs.py to implement global namespace
  • updated README to fit the new changes
    | + added badges
    | + added lyra icon
  • systematize type checking strictness
    | * #type: ignore -> #pyright: ignore [specific-check]
    | + #pyright: reportUnusedImport=false for exportint modules

Changed DB option from Firebase to MongoDB

? Updated requirements.txt
? Improved code style & removed unused code

  • More logging
    | + logging when fetched emojis from the emoji server
    | + logging when connected to lavalink server
    | + logging when connected to db
    | + lgfmt()
    / extras.py -> extras.py, _extras_types.py, _extras_untyped.py, _extras_vars.py
    / lavaimpl.py -> lavaimpl.py, lavautils.py
    / music.py -> music.py, musicutils.py

Changed command check system to tanjun's checks

| / checks.py -> compose.py, flags.py
| + composed() to compose decorator
| + Binds to implement confirm prompt, auto connect vc and voting prompt
/ split modules' code into lib
| / connections
| / playback
| / queue
/ Moved libs' internal constants to consts.py
| + Documentation for each consts in consts.py
/ utils.suppress_embeds is now in base hook's pre_execution
#+ Lyra now have an official version number for each release
#! Limit now playing's thumbnail image to be under server's upload size limit

Unplayable tracks will now be removed instead of skipped

| #+ they will also be remembered to be automatically removed the next time it has been enqueued

  • NoPlayableTracks error

Allow multiple mentionables to be in /restrict add~remove

#+ New command group: misc
| #~ /ping is now in misc

  • Utilises personalized Type aliases
    | * t.Optional[...] -> Option[...]
    | + Result[...]
    #+ More features on /play command
    | Support for playing local files
    || /play-file
    || attaching files upon using message command ,,play
    || attaching files in a message and right click to use the message menu
    | Support for adding multiple songs at once, separated by |. ex. A | B
    #+ New command alias for ,,leave : eddisntheregoaway (Inside-joke from the Oshi No Ko Server)
  • shell scripts in scripts will now have no .sh extension
  • ,,delete_all_app_commands debug command

# Lyra is now open sourced with the GPL-3.0 license
# The lyra reposity now have a sponsor button, linked to Teammie's ko-fi
? minor .gitignore & .dockerignore changes
* changes and organized imports
- abolished the usage of global keywords
 | + added globs.py to implement global namespace
* updated README to fit the new changes
 | + added badges
 | + added lyra icon
* systematize type checking strictness
 | * `#type: ignore` -> `#pyright: ignore [specific-check]`
 | + `#pyright: reportUnusedImport=false` for exportint modules
# Changed DB option from Firebase to MongoDB
? Updated requirements.txt
? Improved code style & removed unused code
+ More logging
 | + logging when fetched emojis from the emoji server
 | + logging when connected to lavalink server
 | + logging when connected to db
 | + `lgfmt()`
/ extras.py -> extras.py, _extras_types.py, _extras_untyped.py, _extras_vars.py
/ lavaimpl.py -> lavaimpl.py, lavautils.py
/ music.py -> music.py, musicutils.py
# Changed command check system to tanjun's checks
 | / checks.py -> compose.py, flags.py
 | + `composed()` to compose decorator
 | + `Binds` to implement confirm prompt, auto connect vc and voting prompt
/ split modules' code into lib
 | / connections
 | / playback
 | / queue
/ Moved libs' internal constants to consts.py
 | + Documentation for each consts in consts.py
/ `utils.suppress_embeds` is now in base hook's `pre_execution`
#+ Lyra now have an official version number for each release
#! Limit now playing's thumbnail image to be under server's upload size limit
# Unplayable tracks will now be removed instead of skipped
 | #+ they will also be remembered to be automatically removed the next time it has been enqueued
+ `NoPlayableTracks` error
# Allow multiple mentionables to be in `/restrict add~remove`
#+ New command group: misc
 | #~ `/ping` is now in misc
+ Utilises personalized Type aliases
 | * `t.Optional[...]` -> `Option[...]`
 | + `Result[...]`
#+ More features on `/play` command
 | Support for playing local files
  || `/play-file`
  || attaching files upon using message command `,,play`
  || attaching files in a message and right click to use the message menu
 | Support for adding multiple songs at once, separated by `|`. ex. `A | B`
#+ New command alias for `,,leave` : `eddisntheregoaway` (Inside-joke from the Oshi No Ko Server)
* shell scripts in `scripts` will now have no `.sh` extension
+ `,,delete_all_app_commands` debug command
@fdnt7 fdnt7 merged commit ff07ff2 into main Jul 11, 2022
@fdnt7 fdnt7 deleted the checks_v2 branch August 24, 2022 15:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant