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

Use the new command mention syntax #51

Merged
merged 1 commit into from
Sep 15, 2022
Merged

Use the new command mention syntax #51

merged 1 commit into from
Sep 15, 2022

Conversation

fdnt7
Copy link
Owner

@fdnt7 fdnt7 commented Sep 15, 2022

Fixes #42
+ When the full cmd repr is used, slash cmds will be mentioned
| + get_full_cmd_repr(...)
| + get_full_cmd_repr_from_identifier(...)
? Refractored some pyright ignores
#~ Major lib restructuring
| ~+ cmd -> compose&flags&ids.py
| ~ errors -> expects.py
| ~ extras -> types&untyped&vars.py
| ~ lava -> utils.py
| ~/ utils -> types&vars.py
? replaces some pyright ignores with typing.cast(...)
? replaced some old deprecated code
* __init_component__(other_checks & other_hooks) is now of type MaybeIterable[...]
+ commands will now have Identifiers
| + cmd.ids.CommandIdentifier
| ?~ Moved cmds impl related TODOs to cmd.ids
| # Massively changed cmd composers' func sig
| * All cmds will now be forced set metadata at StartedEvent
? Fix some minor incorrect docs
+ Lots more type aliases as shorthands in utils.types

Fixes #42
`+` When the full cmd repr is used, slash cmds will be mentioned
 | `+` get_full_cmd_repr(...)`
 | `+` get_full_cmd_repr_from_identifier(...)`
`?` Refractored some pyright ignores
`#~` Major lib restructuring
 | `~+` `cmd` -> `compose`&`flags`&`ids.py`
 | `~` `errors` -> `expects.py`
 | `~` `extras` -> `types`&`untyped`&`vars.py`
 | `~` `lava` -> `utils.py`
 | `~/` `utils` -> `types`&`vars.py`
`?` replaces some pyright ignores with `typing.cast(...)`
`?` replaced some old deprecated code
`*` `__init_component__(other_checks & other_hooks)` is now of type `MaybeIterable[...]`
`+` commands will now have `Identifier`s
 | `+` `cmd.ids.CommandIdentifier`
 | `?~` Moved cmds impl related TODOs to `cmd.ids`
 | `#` Massively changed cmd composers' func sig
 | `*` All cmds will now be forced set metadata at `StartedEvent`
`?` Fix some minor incorrect docs
`+` Lots more type aliases as shorthands in `utils.types`
@fdnt7 fdnt7 self-assigned this Sep 15, 2022
@fdnt7 fdnt7 added breaking This change hurts backwards compatibility documentation Improvements or additions to documentation enhancement New feature or request ux This change will affect the user experience labels Sep 15, 2022
@fdnt7 fdnt7 merged commit c56d336 into main Sep 15, 2022
@fdnt7 fdnt7 deleted the new-cmd-mention branch September 17, 2022 07:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking This change hurts backwards compatibility documentation Improvements or additions to documentation enhancement New feature or request ux This change will affect the user experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use the new command mention syntax
1 participant