Comments (6)
invite = await client.fetchInvite(inviteCode); guild = await client.guilds.fetch(invite.guild.id); guild.members.fetch().then(console.log);
I could manage to fetch the guild object, but the
members
part keeps failing.
if you are not having the rights to manage roles, or manage users, it means opcode 8 is not working
With opcode 14 you can get a certain number of members but won't be able to get by promise in members.fetch() [bug :)]
So after you fetch() you can use guild.members.cache
from discord.js-selfbot-v13.
Sooo can you send me a code which actually works? :D
from discord.js-selfbot-v13.
Sooo can you send me a code which actually works? :D
const sleep = (sec) => new Promise((r) => setTimeout(r, sec * 1000)); // delay function
await guild.members.fetch()
sleep(2) // I think 2 seconds is enough for a 1000 member server
const members = guild.members.cache
from discord.js-selfbot-v13.
still not works.
the code stucks on await guild.members.fetch()
.
from discord.js-selfbot-v13.
const sleep = (sec) => new Promise((r) => setTimeout(r, sec * 1000));
I'm working on a fix, you can wait for the next version
from discord.js-selfbot-v13.
bug fixed, please update to version 1.3.9
from discord.js-selfbot-v13.
Related Issues (20)
- Where did the syncStatus ClientOption go? HOT 2
- DiscordAPIError: Invalid Form Body crash HOT 2
- Community Discord
- Missing Permissions HOT 9
- client.acceptInvite() is return message on debug
- Unknown Message HOT 2
- Add support for reading User.pronouns HOT 1
- message.embeds returns [] with embeds HOT 1
- selectMenu returns "cannot read minValues"
- I can't join the guild using the code HOT 1
- Can you get the message result from a button? HOT 2
- voice messages failing HOT 2
- [User Apps] SendSlash with user apps? HOT 1
- An issue with audit log feature HOT 2
- Thread create event not emitting HOT 1
- client.fetchInvite throwing errors every single time
- DiscordAPIError: invalid-input-response
- Error when creating a server HOT 1
- message.Clickbutton failing to find buttons And displaying incorrect error. HOT 2
- Cannot do Slash commands in a user DMS but the same script works on guild HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord.js-selfbot-v13.