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
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
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():
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
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;
|