!" 𝑱𝒂𝒎𝒆𝒔__
!" 𝑱𝒂𝒎𝒆𝒔__
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by !" 𝑱𝒂𝒎𝒆𝒔__ on 12/29/2023 in #djs-questions
I have a question
I have a Mute and Unmute command. I would like to know if there is a way to list all Timeout members of a server? If so, how can I do it? Thanks
23 replies
DIAdiscord.js - Imagine an app
Created by !" 𝑱𝒂𝒎𝒆𝒔__ on 12/27/2023 in #djs-questions
Error ; FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
Good morning, for a few days I have had this error which occurred even though I have never had this error. Could you help me resolve this problem because it actually poses a problem for the operation of my project. Thank you
7 replies
SIASapphire - Imagine a framework
Created by !" 𝑱𝒂𝒎𝒆𝒔__ on 1/2/2023 in #discordjs-support
Error Dashboard
Hello, I have an error in my dashboard. Could you help me because I don't understand what's going on Thanks
TypeError: C:\Users\james\OneDrive\Bureau\boots\src\views\index.ejs:2
1| <head>
>> 2| <%- include('parts/head', {bot, user, path}) %>
3|
4|
5| </head>

C:\Users\james\OneDrive\Bureau\boots\src\views\parts\head.ejs:173
171|
172| <% if(user) { %>
>> 173| <%
174| let guild = bot.guilds.cache.get(config.server.id).members.cache.get(user.id);
175| if(guild) {
176| if(guild.roles.cache.get(roles.administrator) || guild.roles.cache.get(roles.moderator)) {

Cannot read properties of undefined (reading 'guilds')
at eval ("C:\\Users\\james\\OneDrive\\Bureau\\boots\\src\\views\\parts\\head.ejs":75:33)
at head (C:\Users\james\OneDrive\Bureau\boots\node_modules\ejs\lib\ejs.js:703:17)
at include (C:\Users\james\OneDrive\Bureau\boots\node_modules\ejs\lib\ejs.js:701:39)
at eval ("C:\\Users\\james\\OneDrive\\Bureau\\boots\\src\\views\\index.ejs":12:17)
at index (C:\Users\james\OneDrive\Bureau\boots\node_modules\ejs\lib\ejs.js:703:17)
at tryHandleCache (C:\Users\james\OneDrive\Bureau\boots\node_modules\ejs\lib\ejs.js:274:36)
at exports.renderFile [as engine] (C:\Users\james\OneDrive\Bureau\boots\node_modules\ejs\lib\ejs.js:491:10)
at View.render (C:\Users\james\OneDrive\Bureau\boots\node_modules\express\lib\view.js:135:8)
at tryRender (C:\Users\james\OneDrive\Bureau\boots\node_modules\express\lib\application.js:657:10)
at Function.render (C:\Users\james\OneDrive\Bureau\boots\node_modules\express\lib\application.js:609:3)
TypeError: C:\Users\james\OneDrive\Bureau\boots\src\views\index.ejs:2
1| <head>
>> 2| <%- include('parts/head', {bot, user, path}) %>
3|
4|
5| </head>

C:\Users\james\OneDrive\Bureau\boots\src\views\parts\head.ejs:173
171|
172| <% if(user) { %>
>> 173| <%
174| let guild = bot.guilds.cache.get(config.server.id).members.cache.get(user.id);
175| if(guild) {
176| if(guild.roles.cache.get(roles.administrator) || guild.roles.cache.get(roles.moderator)) {

Cannot read properties of undefined (reading 'guilds')
at eval ("C:\\Users\\james\\OneDrive\\Bureau\\boots\\src\\views\\parts\\head.ejs":75:33)
at head (C:\Users\james\OneDrive\Bureau\boots\node_modules\ejs\lib\ejs.js:703:17)
at include (C:\Users\james\OneDrive\Bureau\boots\node_modules\ejs\lib\ejs.js:701:39)
at eval ("C:\\Users\\james\\OneDrive\\Bureau\\boots\\src\\views\\index.ejs":12:17)
at index (C:\Users\james\OneDrive\Bureau\boots\node_modules\ejs\lib\ejs.js:703:17)
at tryHandleCache (C:\Users\james\OneDrive\Bureau\boots\node_modules\ejs\lib\ejs.js:274:36)
at exports.renderFile [as engine] (C:\Users\james\OneDrive\Bureau\boots\node_modules\ejs\lib\ejs.js:491:10)
at View.render (C:\Users\james\OneDrive\Bureau\boots\node_modules\express\lib\view.js:135:8)
at tryRender (C:\Users\james\OneDrive\Bureau\boots\node_modules\express\lib\application.js:657:10)
at Function.render (C:\Users\james\OneDrive\Bureau\boots\node_modules\express\lib\application.js:609:3)
74 replies