Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to check if the user is in a certain guild in discord

const server = client.guilds.cache.get(server_id)
if (server.members.cache.find(user_id)) //Returns true if present in the guild
else //and false if not
 
PREVIOUS NEXT
Tagged: #check #user #guild #discord
ADD COMMENT
Topic
Name
3+3 =