Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix aliases #273

Merged
merged 1 commit into from
Aug 10, 2022
Merged

Fix aliases #273

merged 1 commit into from
Aug 10, 2022

Conversation

mcpenguin
Copy link
Collaborator

@mcpenguin mcpenguin commented Aug 10, 2022

Fixed aliases and non-regular commands that don't have subcommands.

@@ -234,9 +234,12 @@ export class CodeyCommand extends SapphireCommand {
}
// If the subcommand is not an alias of another subcommand, use the default
if (!commandDetails) {
if (this.details.subcommandDetails !== {}) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hehe i knew this was :suss:

@marko-polo-cheno
Copy link
Collaborator

will test in staging lol

Copy link
Collaborator

@alexz429 alexz429 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome

@mcpenguin mcpenguin merged commit 8d7d86d into master Aug 10, 2022
@mcpenguin mcpenguin deleted the fix-aliases branch August 10, 2022 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants