We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<% user.guilds.forEach(guild => { const permissions = new perms(guild.permissions); if(!permissions.has(Perms.ManageGuild)) return; %>
in dashboard.js my code app.get("/dashboard", checkAuth, (req, res) => { renderTemplate(res, req, "dashboard.ejs", { perms: PermissionsBitField }); }) `;
app.get("/dashboard", checkAuth, (req, res) => { renderTemplate(res, req, "dashboard.ejs", { perms: PermissionsBitField }); })
error i see `RangeError [BitFieldInvalid]: /home/runner/simple-discordjs-dashboard/dashboard/templates/dashboard.ejs:4 2| 3|
4| <% user.guilds.forEach(guild => { 5| const permissions = new perms(guild.permissions); 6| if(!permissions.has(Perms.ManageGuild)) return; 7| %>
Invalid bitfield flag or number: 37080128.`
The text was updated successfully, but these errors were encountered:
It doesn't work in v14. Either you use an old version or you'll look up the old changelogs of discord.js and see what changed.
Sorry, something went wrong.
Myst82015
No branches or pull requests
<% user.guilds.forEach(guild => { const permissions = new perms(guild.permissions); if(!permissions.has(Perms.ManageGuild)) return; %>
in dashboard.js my code
app.get("/dashboard", checkAuth, (req, res) => { renderTemplate(res, req, "dashboard.ejs", { perms: PermissionsBitField }); })
`;
error i see
`RangeError [BitFieldInvalid]: /home/runner/simple-discordjs-dashboard/dashboard/templates/dashboard.ejs:4
2|
3|
Invalid bitfield flag or number: 37080128.`
The text was updated successfully, but these errors were encountered: