Skip to content

chore: clean up CommandMeta#548

Merged
Citymonstret merged 1 commit into2.0.0-devfrom
chore/2.0.0/meta-cleanup
Dec 7, 2023
Merged

chore: clean up CommandMeta#548
Citymonstret merged 1 commit into2.0.0-devfrom
chore/2.0.0/meta-cleanup

Conversation

@Citymonstret
Copy link
Copy Markdown
Member

This PR removes CommandMeta.Key and replaces all usage of it with CloudKey. It existed because of legacy reasons, and we no longer have a use for it.

SimpleCommandMeta no longer has to be referenced directly, and the command meta builder has been extracted and no longer exposes the implementation. The class remains public and non-final in case anyone wants to extend it.

The CommandManager#createDefaultCommandMeta method has a default implementation that returns an empty instance. It is very rare for the implementation of this to do anything else anyway.

This PR removes `CommandMeta.Key` and replaces all usage of it with `CloudKey`. It existed because of legacy reasons, and we no longer have a use for it.

SimpleCommandMeta no longer has to be referenced directly, and the command meta builder has been extracted and no longer exposes the implementation. The class remains public and non-final in case anyone wants to extend it.

The `CommandManager#createDefaultCommandMeta` method has a default implementation that returns an empty instance. It is very rare for the implementation of this to do anything else anyway.
@Citymonstret Citymonstret added this to the 2.0.0 milestone Dec 6, 2023
@github-actions
Copy link
Copy Markdown

github-actions bot commented Dec 6, 2023

Test Results

  72 files  ±0    72 suites  ±0   17s ⏱️ -4s
445 tests ±0  445 ✔️ ±0  0 💤 ±0  0 ±0 
457 runs  ±0  457 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit 824b386. ± Comparison against base commit fb7bd3d.

@Citymonstret Citymonstret merged commit 5ce1a86 into 2.0.0-dev Dec 7, 2023
@Citymonstret Citymonstret deleted the chore/2.0.0/meta-cleanup branch December 7, 2023 09:12
@Citymonstret Citymonstret mentioned this pull request Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant