kai 𓇢𓆸
DIAdiscord.js - Imagine an app
•Created by kai 𓇢𓆸 on 7/20/2024 in #djs-questions
Cannot read properties of undefined (reading 'roles')
thankss
57 replies
DIAdiscord.js - Imagine an app
•Created by kai 𓇢𓆸 on 7/20/2024 in #djs-questions
Cannot read properties of undefined (reading 'roles')
it worked
57 replies
DIAdiscord.js - Imagine an app
•Created by kai 𓇢𓆸 on 7/20/2024 in #djs-questions
Cannot read properties of undefined (reading 'roles')
i did and now its not responding when i run the command
57 replies
DIAdiscord.js - Imagine an app
•Created by kai 𓇢𓆸 on 7/20/2024 in #djs-questions
Cannot read properties of undefined (reading 'roles')
tysm! :X_whitehearts:
57 replies
DIAdiscord.js - Imagine an app
•Created by kai 𓇢𓆸 on 7/20/2024 in #djs-questions
Cannot read properties of undefined (reading 'roles')
it worked
57 replies
DIAdiscord.js - Imagine an app
•Created by kai 𓇢𓆸 on 7/20/2024 in #djs-questions
Cannot read properties of undefined (reading 'roles')
yes
57 replies
DIAdiscord.js - Imagine an app
•Created by kai 𓇢𓆸 on 7/20/2024 in #djs-questions
Cannot read properties of undefined (reading 'roles')
57 replies
DIAdiscord.js - Imagine an app
•Created by kai 𓇢𓆸 on 7/20/2024 in #djs-questions
Cannot read properties of undefined (reading 'roles')
i tried using else but it just gives me a constant red line under everything
57 replies
DIAdiscord.js - Imagine an app
•Created by kai 𓇢𓆸 on 7/20/2024 in #djs-questions
Cannot read properties of undefined (reading 'roles')
is there a way to make it send different replies based on that
57 replies
DIAdiscord.js - Imagine an app
•Created by kai 𓇢𓆸 on 7/20/2024 in #djs-questions
Cannot read properties of undefined (reading 'roles')
thankss
57 replies
DIAdiscord.js - Imagine an app
•Created by kai 𓇢𓆸 on 7/20/2024 in #djs-questions
Cannot read properties of undefined (reading 'roles')
do i do something like
if (compareRoles(role.position, senderHR) >= 1);
give the role
57 replies
DIAdiscord.js - Imagine an app
•Created by kai 𓇢𓆸 on 7/20/2024 in #djs-questions
Cannot read properties of undefined (reading 'roles')
how do i check whether it returned positive or negative
57 replies
DIAdiscord.js - Imagine an app
•Created by kai 𓇢𓆸 on 7/20/2024 in #djs-questions
Cannot read properties of undefined (reading 'roles')
and its still working
57 replies
DIAdiscord.js - Imagine an app
•Created by kai 𓇢𓆸 on 7/20/2024 in #djs-questions
Cannot read properties of undefined (reading 'roles')
and im giving myself a role above the current role i have
57 replies
DIAdiscord.js - Imagine an app
•Created by kai 𓇢𓆸 on 7/20/2024 in #djs-questions
Cannot read properties of undefined (reading 'roles')
i took my roles
57 replies
DIAdiscord.js - Imagine an app
•Created by kai 𓇢𓆸 on 7/20/2024 in #djs-questions
Cannot read properties of undefined (reading 'roles')
how
57 replies
DIAdiscord.js - Imagine an app
•Created by kai 𓇢𓆸 on 7/20/2024 in #djs-questions
Cannot read properties of undefined (reading 'roles')
if its below the role theyre trying to give then it shouldnt work
57 replies
DIAdiscord.js - Imagine an app
•Created by kai 𓇢𓆸 on 7/20/2024 in #djs-questions
Cannot read properties of undefined (reading 'roles')
im checking if their role is higher than the role they're trying to give
57 replies
DIAdiscord.js - Imagine an app
•Created by kai 𓇢𓆸 on 7/20/2024 in #djs-questions
Cannot read properties of undefined (reading 'roles')
that's the person that uses the command
57 replies
DIAdiscord.js - Imagine an app
•Created by kai 𓇢𓆸 on 7/20/2024 in #djs-questions
Cannot read properties of undefined (reading 'roles')
and it still gives the role
57 replies