Shahar
DIAdiscord.js - Imagine an app
•Created by Shahar on 9/30/2024 in #djs-questions
memory
Average?
7 replies
DIAdiscord.js - Imagine an app
•Created by Shahar on 9/30/2024 in #djs-questions
memory
What is the normal usage of memory for a simple bot (like per shard)
7 replies
DIAdiscord.js - Imagine an app
•Created by Shahar on 9/30/2024 in #djs-questions
memory
is there anything I can do to reduce it?
7 replies
DIAdiscord.js - Imagine an app
•Created by Shahar on 9/28/2024 in #djs-questions
Permissions
30 replies
DIAdiscord.js - Imagine an app
•Created by Shahar on 9/28/2024 in #djs-questions
Permissions
I am messing with sweepers maybe that’s why
30 replies
DIAdiscord.js - Imagine an app
•Created by Shahar on 9/28/2024 in #djs-questions
Permissions
@Qjuh that was the solution, using permissionOverwrite, thank you very much for your help.
@duck btw I do need to fetch the channel in order for the cache to be updated, I got accross some issues if I dont fetch it which its not updated, so I do fetch everytime altough its slower
30 replies
DIAdiscord.js - Imagine an app
•Created by Shahar on 9/28/2024 in #djs-questions
Permissions
That is way I need to check only the bot permission overwrite in the channel I guess
30 replies
DIAdiscord.js - Imagine an app
•Created by Shahar on 9/28/2024 in #djs-questions
Permissions
Exactly right
30 replies
DIAdiscord.js - Imagine an app
•Created by Shahar on 9/28/2024 in #djs-questions
Permissions
Like to relate to my bot permissions in a specific channel where the interaction came from as I mentioned
30 replies
DIAdiscord.js - Imagine an app
•Created by Shahar on 9/28/2024 in #djs-questions
Permissions
I want to relate only to the channels and it doesn’t
30 replies
DIAdiscord.js - Imagine an app
•Created by Shahar on 9/28/2024 in #djs-questions
Permissions
But it’s not checking it properly
30 replies
DIAdiscord.js - Imagine an app
•Created by Shahar on 9/28/2024 in #djs-questions
Permissions
The bot is adding to its self the permissions overwrites at a certain point. And if a user will remove it , it will cause issues to my bot. So I want to check at any time if he has it, if not just return a message
30 replies
DIAdiscord.js - Imagine an app
•Created by Shahar on 9/28/2024 in #djs-questions
Permissions
Yes
30 replies
DIAdiscord.js - Imagine an app
•Created by Shahar on 9/28/2024 in #djs-questions
Permissions
he is tryin to edit a message but he has no permissions
30 replies
DIAdiscord.js - Imagine an app
•Created by Shahar on 9/28/2024 in #djs-questions
Permissions
still didn't work, when everyone is on "null" and there is no permissions for the bot in the channel he doesnt have the neseccery perms.
code:
output:
30 replies
DIAdiscord.js - Imagine an app
•Created by Shahar on 9/28/2024 in #djs-questions
Permissions
oh nice, thank you very much
30 replies
DIAdiscord.js - Imagine an app
•Created by Shahar on 9/28/2024 in #djs-questions
Permissions
true, thats exactly what I need but for a button interaction
30 replies
DIAdiscord.js - Imagine an app
•Created by Shahar on 9/28/2024 in #djs-questions
Permissions
I hope I've explained it well, its kinda complicated messing with the permissions
30 replies
DIAdiscord.js - Imagine an app
•Created by Shahar on 9/28/2024 in #djs-questions
Permissions
Like he continue becuase he "has" the permissions, but infact the bot is throwing error missing permissions. when he does have the role in the channel its not throwing any error
30 replies