Is it possible to use the joinAt function as an alternative to guildMemberAdd? #1011
Unanswered
subvertReal
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Might wanna take a look at GuildMemberManager and get the joinedAt property from the GuildMember. You will have to iterate through the list, though. Here is some code that MIGHT work: let members = <guild>.members.fetch();
for (user in members) {
console.log(user.joinedAt); // Replace this with your date checking stuff.
} You might have to modify this to work because this is just pseudo-code, but it should work (hopefully). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know that guildMemberAdd doesnt exactly function properly which puts a wrench to my problem, but might it be possible that the joinAt function could be used to find members within a specific join time (say like a period of 10 minutes) and then display those users information.
P.S. please excuse me if what I'm saying is gibberish or doesnt make sense. I'm still new to javascript, and I'm still reading through and understanding this repo
Beta Was this translation helpful? Give feedback.
All reactions