Dante
Dante
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by Dante on 8/15/2024 in #djs-questions
can't read the mentions of a webhook
Ah dang this was the case all along!
21 replies
DIAdiscord.js - Imagine an app
Created by Dante on 8/15/2024 in #djs-questions
can't read the mentions of a webhook
I basically wanted an automated system that doesn't need any action from the users, basically they vote and automatically get the rewards by triggering the webhook
21 replies
DIAdiscord.js - Imagine an app
Created by Dante on 8/15/2024 in #djs-questions
can't read the mentions of a webhook
Actually wait shit, is it because I don't have the message content intent enabled
21 replies
DIAdiscord.js - Imagine an app
Created by Dante on 8/15/2024 in #djs-questions
can't read the mentions of a webhook
It doesn't unfortunately
21 replies
DIAdiscord.js - Imagine an app
Created by Dante on 8/15/2024 in #djs-questions
can't read the mentions of a webhook
I'm sorry if that's the wrong approach 💀 Can you tell me how I can do it in the correct way?
21 replies
DIAdiscord.js - Imagine an app
Created by Dante on 8/15/2024 in #djs-questions
can't read the mentions of a webhook
No description
21 replies
DIAdiscord.js - Imagine an app
Created by Dante on 8/15/2024 in #djs-questions
can't read the mentions of a webhook
message.embeds Is an empty array and message.content doesn't log anything
21 replies
DIAdiscord.js - Imagine an app
Created by Dante on 8/15/2024 in #djs-questions
can't read the mentions of a webhook
Like quite literally it's empty
21 replies
DIAdiscord.js - Imagine an app
Created by Dante on 8/15/2024 in #djs-questions
can't read the mentions of a webhook
I get that this will give me a regex, but what do I use it on? The webhook's content and description is coming empty when I log it
21 replies
DIAdiscord.js - Imagine an app
Created by Dante on 8/15/2024 in #djs-questions
can't read the mentions of a webhook
Can you like give me an example code? Assuming that message is the Message I get from the messageCreate event
21 replies
DIAdiscord.js - Imagine an app
Created by Dante on 8/15/2024 in #djs-questions
can't read the mentions of a webhook
I'm getting the message through a messageCreate event, do I need to get a parameter from the callback called 'MessageMentions'?
21 replies
DIAdiscord.js - Imagine an app
Created by Dante on 6/26/2024 in #djs-questions
Optimizing Ram Usage
Sorry about that, how can I frame my question better? Actually the thing is, I have never released a bot nor hosted one before this so I don't even have a general idea about the stats. So I thought it would be possible to estimate ram usage based on current stats since it's linearly proportional I believe 😅
19 replies
DIAdiscord.js - Imagine an app
Created by Dante on 6/26/2024 in #djs-questions
Optimizing Ram Usage
So judging on the current scenario, how much would you expect my RAM to hit in the future when the bot gets a lot more active?
19 replies
DIAdiscord.js - Imagine an app
Created by Dante on 6/26/2024 in #djs-questions
Optimizing Ram Usage
Sorry I didn't get you
19 replies
DIAdiscord.js - Imagine an app
Created by Dante on 6/26/2024 in #djs-questions
Optimizing Ram Usage
I know there is sharding to tackle load but do you think it will still be enough? Just genuinely want to know
19 replies
DIAdiscord.js - Imagine an app
Created by Dante on 6/26/2024 in #djs-questions
Optimizing Ram Usage
Yeah my bot really does a lot, tbh I'm not that concerned about the ram currently, what I really am concerned about is that it's this much now when it's only in 50 servers and is not very active rn. How much do you think the RAM will increase to in let's say 50k servers and a lot of users? I really have no idea since this is my first time developing a discord bot
19 replies
DIAdiscord.js - Imagine an app
Created by Dante on 6/26/2024 in #djs-questions
Optimizing Ram Usage
Also, if I remove the sweepers and still cache messages and stuff how will the cache clean itself?
19 replies
DIAdiscord.js - Imagine an app
Created by Dante on 6/26/2024 in #djs-questions
Optimizing Ram Usage
do you think this will help in a significant way? does any other reason come to your mind that is causing this ram inflation
19 replies
DIAdiscord.js - Imagine an app
Created by Dante on 6/26/2024 in #djs-questions
Optimizing Ram Usage
so since there is nothing to cache, there is no need to sweep
19 replies
DIAdiscord.js - Imagine an app
Created by Dante on 6/26/2024 in #djs-questions
Optimizing Ram Usage
should i just remove the sweepers and turn off caching?
19 replies