TinkerStorm/hack-n-slash

Custom SCs flow

Closed this issue · 2 comments

Each custom slash command can theoretically be registered and called within the given context - regardless if there is a command file to support it. My thinking is (or was) that it held itself up when trying to run commands from the global or core structure.

Event for commandInteraction was disabled as of 14ca478 in attempt to determine the source.

handleCommandsManually in the creator options needs to be true in order to have the commandInteraction get events.

  /**
   * Whether to hand off command interactions to the `commandInteraction` event
   * rather than handle it automatically.
   */
  handleCommandsManually?: boolean;

Fixed in 83566ee. 👍🏻