@tanzanite/discord-akairo
    Preparing search index...

    Type Alias InhibitorOptions

    InhibitorOptions: AkairoModuleOptions & {
        priority?: number;
        reason?: string;
        type?: InhibitorTypeString;
    }

    Options to use for inhibitor execution behavior.

    Type declaration

    • Optionalpriority?: number

      Priority for the inhibitor for when more than one inhibitors block a message. The inhibitor with the highest priority is the one that is used for the block reason.

      0
      
    • Optionalreason?: string

      Reason emitted when command or message is blocked.

      ""
      
    • Optionaltype?: InhibitorTypeString

      Can be 'all' to run on all messages, 'pre' to run on messages not blocked by the built-in inhibitors, or 'post' to run on messages that are commands.

      "post"