seyfert 4.2.0 → 4.2.1
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.
- package/lib/client/base.js +1 -1
- package/package.json +1 -1
package/lib/client/base.js
CHANGED
|
@@ -262,7 +262,7 @@ class BaseClient {
|
|
|
262
262
|
applicationId ??= await this.getRC().then(x => x.applicationId ?? this.applicationId);
|
|
263
263
|
(0, common_1.assertString)(applicationId, 'applicationId is not a string');
|
|
264
264
|
const commands = this.commands.values;
|
|
265
|
-
const filter = (0, common_1.filterSplit)(commands, command => ('guildId' in command ? !(command.guildId.length > 0) : true));
|
|
265
|
+
const filter = (0, common_1.filterSplit)(commands, command => ('guildId' in command ? !((command.guildId ?? []).length > 0) : true));
|
|
266
266
|
if (this.commands.entryPoint) {
|
|
267
267
|
filter.expect.push(this.commands.entryPoint);
|
|
268
268
|
}
|