You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The quotes accepted by this command, pass `[]` to disable them.
689
-
* @since 1.0.0
690
-
* @default
691
-
* [
692
-
* ['"', '"'], // Double quotes
693
-
* ['“', '”'], // Fancy quotes (on iOS)
694
-
* ['「', '」'] // Corner brackets (CJK)
695
-
* ['«', '»'] // French quotes (guillemets)
696
-
* ]
697
-
*/
698
-
quotes?: [string,string][];
699
-
700
-
/**
701
-
* Sets whether the command should be treated as NSFW. If set to true, the `NSFW` precondition will be added to the list.
702
-
* @since 2.0.0
703
-
* @default false
704
-
*/
705
-
nsfw?: boolean;
706
-
707
-
/**
708
-
* The amount of entries the cooldown can have before filling up, if set to a non-zero value alongside {@link Command.Options.cooldownDelay}, the `Cooldown` precondition will be added to the list.
709
-
* @since 2.0.0
710
-
* @default 1
711
-
*/
712
-
cooldownLimit?: number;
713
-
714
-
/**
715
-
* The time in milliseconds for the cooldown entries to reset, if set to a non-zero value alongside {@link Command.Options.cooldownLimit}, the `Cooldown` precondition will be added to the list.
716
-
* @since 2.0.0
717
-
* @default 0
718
-
*/
719
-
cooldownDelay?: number;
720
-
721
-
/**
722
-
* The scope of the cooldown entries.
723
-
* @since 2.0.0
724
-
* @default BucketScope.User
725
-
*/
726
-
cooldownScope?: BucketScope;
727
-
728
-
/**
729
-
* The users that are exempt from the Cooldown precondition.
730
-
* Use this to filter out someone like a bot owner
731
-
* @since 2.0.0
732
-
* @default undefined
733
-
*/
734
-
cooldownFilteredUsers?: Snowflake[];
735
-
736
-
/**
737
-
* The required permissions for the client.
738
-
* @since 2.0.0
739
-
* @default 0
740
-
*/
741
-
requiredClientPermissions?: PermissionResolvable;
742
-
743
-
/**
744
-
* The required permissions for the user.
745
-
* @since 2.0.0
746
-
* @default 0
747
-
*/
748
-
requiredUserPermissions?: PermissionResolvable;
749
-
750
-
/**
751
-
* The channels the command should run in. If set to `null`, no precondition entry will be added.
752
-
* Some optimizations are applied when given an array to reduce the amount of preconditions run
753
-
* (e.g. `'GUILD_TEXT'` and `'GUILD_NEWS'` becomes `'GUILD_ANY'`, and if both `'DM'` and `'GUILD_ANY'` are defined,
754
-
* then no precondition entry is added as it runs in all channels).
755
-
*
756
-
* This can be both {@link CommandRunInUnion} which will have the same precondition apply to all the types of commands,
757
-
* or you can use {@link CommandSpecificRunIn} to apply different preconditions to different types of commands.
758
-
* @since 2.0.0
759
-
* @default null
760
-
*/
761
-
runIn?: CommandRunInUnion|CommandSpecificRunIn;
762
-
763
-
/**
764
-
* If {@link SapphireClient.typing} is true, this option will override it.
765
-
* Otherwise, this option has no effect - you may call {@link Channel#sendTyping}` in the run method if you want specific commands to display the typing status.
* The quotes accepted by this command, pass `[]` to disable them.
116
+
* @since 1.0.0
117
+
* @default
118
+
* [
119
+
* ['"', '"'], // Double quotes
120
+
* ['“', '”'], // Fancy quotes (on iOS)
121
+
* ['「', '」'] // Corner brackets (CJK)
122
+
* ['«', '»'] // French quotes (guillemets)
123
+
* ]
124
+
*/
125
+
quotes?: [string,string][];
126
+
127
+
/**
128
+
* Sets whether the command should be treated as NSFW. If set to true, the `NSFW` precondition will be added to the list.
129
+
* @since 2.0.0
130
+
* @default false
131
+
*/
132
+
nsfw?: boolean;
133
+
134
+
/**
135
+
* The amount of entries the cooldown can have before filling up, if set to a non-zero value alongside {@link CommandOptions.cooldownDelay}, the `Cooldown` precondition will be added to the list.
136
+
* @since 2.0.0
137
+
* @default 1
138
+
*/
139
+
cooldownLimit?: number;
140
+
141
+
/**
142
+
* The time in milliseconds for the cooldown entries to reset, if set to a non-zero value alongside {@link CommandOptions.cooldownLimit}, the `Cooldown` precondition will be added to the list.
143
+
* @since 2.0.0
144
+
* @default 0
145
+
*/
146
+
cooldownDelay?: number;
147
+
148
+
/**
149
+
* The scope of the cooldown entries.
150
+
* @since 2.0.0
151
+
* @default BucketScope.User
152
+
*/
153
+
cooldownScope?: BucketScope;
154
+
155
+
/**
156
+
* The users that are exempt from the Cooldown precondition.
157
+
* Use this to filter out someone like a bot owner
158
+
* @since 2.0.0
159
+
* @default undefined
160
+
*/
161
+
cooldownFilteredUsers?: Snowflake[];
162
+
163
+
/**
164
+
* The required permissions for the client.
165
+
* @since 2.0.0
166
+
* @default 0
167
+
*/
168
+
requiredClientPermissions?: PermissionResolvable;
169
+
170
+
/**
171
+
* The required permissions for the user.
172
+
* @since 2.0.0
173
+
* @default 0
174
+
*/
175
+
requiredUserPermissions?: PermissionResolvable;
176
+
177
+
/**
178
+
* The channels the command should run in. If set to `null`, no precondition entry will be added.
179
+
* Some optimizations are applied when given an array to reduce the amount of preconditions run
180
+
* (e.g. `'GUILD_TEXT'` and `'GUILD_NEWS'` becomes `'GUILD_ANY'`, and if both `'DM'` and `'GUILD_ANY'` are defined,
181
+
* then no precondition entry is added as it runs in all channels).
182
+
*
183
+
* This can be both {@link CommandRunInUnion} which will have the same precondition apply to all the types of commands,
184
+
* or you can use {@link CommandSpecificRunIn} to apply different preconditions to different types of commands.
185
+
* @since 2.0.0
186
+
* @default null
187
+
*/
188
+
runIn?: CommandRunInUnion|CommandSpecificRunIn;
189
+
190
+
/**
191
+
* If {@link SapphireClient.typing} is true, this option will override it.
192
+
* Otherwise, this option has no effect - you may call {@link Channel#sendTyping}` in the run method if you want specific commands to display the typing status.
0 commit comments