Skip to main content

Interface: PatternCommandOptions

Defined in: lib/structures/PatternCommand.ts:32

Extends​

  • Options

Properties​

chance?​

optional chance: number

Defined in: lib/structures/PatternCommand.ts:37

The chance that the pattern command is triggered.

Default​

100

matchFullName?​

optional matchFullName: boolean

Defined in: lib/structures/PatternCommand.ts:48

If true it will only trigger on full matches (for example, explore won't trigger lore) Note: It will only change the behavior of the command's name and not for the command's aliasses

Default​

false

weight?​

optional weight: number

Defined in: lib/structures/PatternCommand.ts:42

The matching weight of the command.

Default​

5