He can walk
DIAdiscord.js - Imagine a bot
•Created by He can walk on 6/27/2024 in #djs-questions
Questions about Discord.js cache
I'm not sure what time it is where you are... So I wish you a good day/evening. 😄
Thank you very much, I'm going to rest a bit.
75 replies
DIAdiscord.js - Imagine a bot
•Created by He can walk on 6/27/2024 in #djs-questions
Questions about Discord.js cache
🤣
Thank you!
75 replies
DIAdiscord.js - Imagine a bot
•Created by He can walk on 6/27/2024 in #djs-questions
Questions about Discord.js cache
I just feel like I'm not really in the same world sometimes. Anyway, that's another topic.
75 replies
DIAdiscord.js - Imagine a bot
•Created by He can walk on 6/27/2024 in #djs-questions
Questions about Discord.js cache
I'm still very stressed by all this noise. Thanks again for these answers. I took notes and will reread them periodically.
75 replies
DIAdiscord.js - Imagine a bot
•Created by He can walk on 6/27/2024 in #djs-questions
Questions about Discord.js cache
I don't know. I hear things that I'm told to be very careful about and that need to be handled in a certain way, when in reality it ends in a "double-edged sword" solution... Whereas, if other things had been done correctly beforehand, there would just be no "sword" at all... That sort of things.
75 replies
DIAdiscord.js - Imagine a bot
•Created by He can walk on 6/27/2024 in #djs-questions
Questions about Discord.js cache
I'm a very unlucky person. Often, I'm not affected by what people complain about, but I end up complaining about things that people never complain about...
I like to have my own opinion about almost everything, and need to experiment by myself before thinking like the others... But when I hear strange rumors, it still makes me uneasy even though many times, from experience, I've realized it's just because complainers (often) do pure messes.
75 replies
DIAdiscord.js - Imagine a bot
•Created by He can walk on 6/27/2024 in #djs-questions
Questions about Discord.js cache
Okay, never happened to me but heard some complaints about it too
75 replies
DIAdiscord.js - Imagine a bot
•Created by He can walk on 6/27/2024 in #djs-questions
Questions about Discord.js cache
Is it also what can induce an event to be triggered very "Lately"?
75 replies
DIAdiscord.js - Imagine a bot
•Created by He can walk on 6/27/2024 in #djs-questions
Questions about Discord.js cache
Or could I be fooled?
75 replies
DIAdiscord.js - Imagine a bot
•Created by He can walk on 6/27/2024 in #djs-questions
Questions about Discord.js cache
would I smell like there's a missing one by experience?
75 replies
DIAdiscord.js - Imagine a bot
•Created by He can walk on 6/27/2024 in #djs-questions
Questions about Discord.js cache
and test a lot my bot (in real-world scenarios, not mocking the entire Discord API, obviously)
75 replies
DIAdiscord.js - Imagine a bot
•Created by He can walk on 6/27/2024 in #djs-questions
Questions about Discord.js cache
If I remove all the partials
75 replies
DIAdiscord.js - Imagine a bot
•Created by He can walk on 6/27/2024 in #djs-questions
Questions about Discord.js cache
hm
75 replies
DIAdiscord.js - Imagine a bot
•Created by He can walk on 6/27/2024 in #djs-questions
Questions about Discord.js cache
If I want the bot to be able to ping a new member who has just arrived in a guild, I guess partials would be appropriate as well?
75 replies
DIAdiscord.js - Imagine a bot
•Created by He can walk on 6/27/2024 in #djs-questions
Questions about Discord.js cache
Some simple examples, but for instance:
- I absolutely want to know if my bot has its permissions changed on the server, so that if it loses or regains ban permissions, it updates my database entries correctly to avoid cluttering jobs and mitigate that as best as I can.
- If the bot gets kicked, I definitely want the guild to be marked as "Abandoned" until its return, although this will require double-checks before eventually deleting all their data after a given time.
I use these examples because here we're talking about trying to improve the bot's safety as much as possible, so I think it's appropriate to want to react swiftly in these cases.
75 replies
DIAdiscord.js - Imagine a bot
•Created by He can walk on 6/27/2024 in #djs-questions
Questions about Discord.js cache
This second option seems to lead to a lot of undecidable challenges
75 replies
DIAdiscord.js - Imagine a bot
•Created by He can walk on 6/27/2024 in #djs-questions
Questions about Discord.js cache
So, if I want more "Reactivity", I have to use Partials and deal with it, otherwise I could miss some events?
75 replies
DIAdiscord.js - Imagine a bot
•Created by He can walk on 6/27/2024 in #djs-questions
Questions about Discord.js cache
Oh, Partials are there to "Top up" the cache with new informations?
75 replies
DIAdiscord.js - Imagine a bot
•Created by He can walk on 6/27/2024 in #djs-questions
Questions about Discord.js cache
I put it without thinking about what it actually does.
[Partials.GuildMember, Partials.Message, Partials.Channel, Partials.User];
75 replies
DIAdiscord.js - Imagine a bot
•Created by He can walk on 6/27/2024 in #djs-questions
Questions about Discord.js cache
hmm
75 replies