# Command Handler Properties
All the properties that belong to a CommandHandler
instance (which can be undefined, unless they have a default value):
Property | Description | Type Values | Optional |
---|---|---|---|
client | The client that's binded to this handler | AbrevioClient | ❌ |
path | The path to the commands to load & handle | string | ❌ |
overrideDefaults | Whether or not to override the default (internal) handlers (false by default. Overwritten if CommandHandler#handleEdits is true.) | boolean | ✔️ |
handleEdits | Whether or not to respond to edited messages that correspond to a command | boolean | ✔️ |
ignorePermissions | Which permissions to ignore when executing a command | PermissionResolvable[] | ✔️ |
fetchMembers | Whether or not to repopulate the member cache pool when handling commands | boolean | ✔️ |
blockBots | Whether or not to block respondance to bots | boolean | ✔️ |
blockClient | Whether or not to block respondance to self (client) | boolean | ✔️ |
prefixes | The prefixes to respond to when handling commands (? & ! by default.) | string[] | ✔️ |
handler | The handler itself | CommandHandler | Not a constructable property. |
aliases | The aliases for each command | Store<string, string[]> | Not a constructable property. |
commands | A store of commands that belongs to this handler. | Store<string, BaseCommand> | Not a constructable property. |