#file management

4 messages · Page 1 of 1 (latest)

spiral tide

hii, I'm using this structure, do you have any suggestion? I also want to put the sub commands, how can I organize all?

south cobaltBOT
  • Consider reading #how-to-get-help to improve your question!
  • Explain what exactly your issue is.
  • Post the full error stack trace, not just the top part!
  • Show your code!
  • Issue solved? Press the button!
  • Marked as resolved by OP
wintry flare

it's really up to personal choice tbh, the possibilities are infinite

I'd do it this way but you're free to do it however you want

commands:
  someCategory:
    - commandWithoutSubcommands.js
    - commandWithSubcommands.js
    commandWithSubcommands:
      - subcommandOne.js
      - subcommandTwo.js