Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error here #531

Open
csj90 opened this issue Jan 19, 2022 · 0 comments
Open

error here #531

csj90 opened this issue Jan 19, 2022 · 0 comments
Labels
👾 Bug Something isn't working

Comments

@csj90
Copy link

csj90 commented Jan 19, 2022

10| 		  <h1 class="title">Servers you can manage: </h1>
11| 		  <% djsclient.guilds.cache.forEach((guild) => { %>

12| <% if (!guild.member(user.id)) return %>
13| <% const member = guild.members.cache.find(p => p.id === user.id) %>
14| <% if (!member.hasPermission('ADMINISTRATOR')) return %>
15| <% if (!djsclient.guilds.cache.has(guild.id)) { %>

guild.member is not a function

@ddinan ddinan added the 👾 Bug Something isn't working label May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👾 Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants