22 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.member.timeout
ok
I have a question
I have an integer input
okay
and I multiply it by 1000 in the timeout thing
okay
but it only timeouts for 1 min
what’re you inputting
when the input is 60mins
you’re typing 60mins on an integer option?
no 60
yeah
60 * 1000 ms
and I multiply by 1000
60 seconds
the *1000 turns ms into seconds
oh
so *10000
ty
what
wait
so
minutes times 60000
1000 milliseconds in a second
60 seconds in a minute
so yes
k ty
I got this error:
it worked fine a few minutes ago
define member
Despite sounding similar there is a distinct difference between users and members in Discord:
• User: global Discord user data (global avatar, username, tag, id)
• GuildMember: user data associated to a guild (guild, nickname, roles, voice, guild avatar, etc.)
• Conversion: User ➞ GuildMember | GuildMember ➞ User