thenorthsolution / Reciple

⚡Discord.js framework that just works
https://reciple.js.org
GNU General Public License v3.0
12 stars 1 forks source link

Message Command Flags #63

Closed catplvsplus closed 2 months ago

catplvsplus commented 2 months ago

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