reciple 6.0.0-dev.21 → 6.0.0-dev.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -67,25 +67,25 @@ export declare type MessageCommandExecuteFunction<T = unknown> = CommandExecuteF
67
67
  */
68
68
  export declare class MessageCommandBuilder<T = unknown> implements SharedCommandBuilderProperties<T> {
69
69
  readonly type = CommandType.MessageCommand;
70
- private _name;
71
- private _description;
72
- private _cooldown;
73
- private _aliases;
74
- private _validateOptions;
75
- private _options;
76
- private _requiredBotPermissions;
77
- private _requiredMemberPermissions;
78
- private _allowExecuteInDM;
79
- private _allowExecuteByBots;
80
- private _halt?;
81
- private _execute;
70
+ protected _name: string;
71
+ protected _description: string;
72
+ protected _cooldown: number;
73
+ protected _aliases: string[];
74
+ protected _validateOptions: boolean;
75
+ protected _options: MessageCommandOptionBuilder[];
76
+ protected _requiredBotPermissions: PermissionResolvable[];
77
+ protected _requiredMemberPermissions: PermissionResolvable[];
78
+ protected _allowExecuteInDM: boolean;
79
+ protected _allowExecuteByBots: boolean;
80
+ protected _halt?: MessageCommandHaltFunction<T>;
81
+ protected _execute: MessageCommandExecuteFunction<T>;
82
82
  metadata?: T;
83
83
  get name(): typeof this._name;
84
84
  get description(): typeof this._description;
85
85
  get cooldown(): typeof this._cooldown;
86
86
  get aliases(): typeof this._aliases;
87
87
  get validateOptions(): typeof this._validateOptions;
88
- get options(): MessageCommandOptionResolvable[];
88
+ get options(): typeof this._options;
89
89
  get requiredBotPermissions(): typeof this._requiredBotPermissions;
90
90
  get requiredMemberPermissions(): typeof this._requiredMemberPermissions;
91
91
  get allowExecuteInDM(): typeof this._allowExecuteInDM;
@@ -4,10 +4,10 @@ import { Awaitable } from 'discord.js';
4
4
  * Option builder for MessageCommandBuilder
5
5
  */
6
6
  export declare class MessageCommandOptionBuilder {
7
- private _name;
8
- private _description;
9
- private _required;
10
- private _validator?;
7
+ protected _name: string;
8
+ protected _description: string;
9
+ protected _required: boolean;
10
+ protected _validator?: (value: string) => Awaitable<boolean>;
11
11
  get name(): typeof this._name;
12
12
  get description(): typeof this._description;
13
13
  get required(): typeof this._required;
@@ -46,11 +46,11 @@ export interface SlashCommandBuilder<T = unknown> extends DiscordJsSlashCommandB
46
46
  */
47
47
  export declare class SlashCommandBuilder<T = unknown> extends DiscordJsSlashCommandBuilder implements SharedCommandBuilderProperties<T> {
48
48
  readonly type = CommandType.SlashCommand;
49
- private _cooldown;
50
- private _requiredBotPermissions;
51
- private _requiredMemberPermissions;
52
- private _halt?;
53
- private _execute;
49
+ protected _cooldown: number;
50
+ protected _requiredBotPermissions: PermissionResolvable[];
51
+ protected _requiredMemberPermissions: PermissionResolvable[];
52
+ protected _halt?: SlashCommandHaltFunction<T>;
53
+ protected _execute: SlashCommandExecuteFunction<T>;
54
54
  metadata?: T;
55
55
  get cooldown(): typeof this._cooldown;
56
56
  get requiredBotPermissions(): typeof this._requiredBotPermissions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reciple",
3
- "version": "6.0.0-dev.21",
3
+ "version": "6.0.0-dev.23",
4
4
  "bin": "./dist/lib/bin.mjs",
5
5
  "license": "GPL-3.0",
6
6
  "type": "commonjs",