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

Message Command Flags #63

Merged
merged 16 commits into from
Aug 4, 2024
Merged

Message Command Flags #63

merged 16 commits into from
Aug 4, 2024

Conversation

catplvsplus
Copy link
Member

Add a new kind of options that can be used similar to CLI commands.

Example

new MessageCommandBuilder()
    .setName('command')
    .setDescription('My command')
    .addFlag(flag => flag
        .setName('flag')
        .setDescription('My flag')
        .setValueType('string')
    )
!command --flag MyValue

@catplvsplus catplvsplus marked this pull request as ready for review August 4, 2024 10:51
@catplvsplus catplvsplus merged commit 41ad32d into main Aug 4, 2024
5 checks passed
@catplvsplus catplvsplus deleted the flags branch August 4, 2024 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant