djs-selfbot-v13 3.1.4 → 3.1.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "djs-selfbot-v13",
3
- "version": "3.1.4",
3
+ "version": "3.1.5",
4
4
  "description": "A unofficial discord.js fork for creating selfbots [Based on discord.js v13]",
5
5
  "main": "./src/index.js",
6
6
  "types": "./typings/index.d.ts",
@@ -127,7 +127,6 @@ class ChannelManager extends CachedManager {
127
127
  recipients = recipients
128
128
  .map(r => this.client.users.resolveId(r))
129
129
  .filter(r => r && this.client.relationships.cache.get(r) == RelationshipTypes.FRIEND);
130
- if (recipients.length < 1 || recipients.length > 9) throw new Error('Invalid Users length (2 - 9)');
131
130
  const data = await this.client.api.users['@me'].channels.post({
132
131
  data: { recipients },
133
132
  });