Stqlth
Stqlth
DIAdiscord.js - Imagine an app
Created by Stqlth on 2/19/2024 in #djs-questions
Can two shards have the same guild in the guild cache?
added a bunch of logging to get some more information, I'll have time to restart one of my clusters tomorrow and I'll update what the logs show
35 replies
DIAdiscord.js - Imagine an app
Created by Stqlth on 2/19/2024 in #djs-questions
Can two shards have the same guild in the guild cache?
but that still wouldn't explain why the loop was letting it happen more than once, since it is by key nvm I loop through the values
35 replies
DIAdiscord.js - Imagine an app
Created by Stqlth on 2/19/2024 in #djs-questions
Can two shards have the same guild in the guild cache?
not sure if that made sense but oh well
35 replies
DIAdiscord.js - Imagine an app
Created by Stqlth on 2/19/2024 in #djs-questions
Can two shards have the same guild in the guild cache?
this would actually make more sense since one of my servers had two messages, sent to two different channels, yet the logic to determine which channel I use is always the same. So if a map had two values for the guild, it could cause two different logic paths when getting the channel
35 replies
DIAdiscord.js - Imagine an app
Created by Stqlth on 2/19/2024 in #djs-questions
Can two shards have the same guild in the guild cache?
iirc maps can't have duplicate keys but can have duplicate values
35 replies
DIAdiscord.js - Imagine an app
Created by Stqlth on 2/19/2024 in #djs-questions
Can two shards have the same guild in the guild cache?
Hypothetically, if discord was fucking up, could that cause it?
35 replies
DIAdiscord.js - Imagine an app
Created by Stqlth on 2/19/2024 in #djs-questions
Can two shards have the same guild in the guild cache?
simple logging, I do an action on every guild in the cache, in the most recent case, it was sending a message, had multiple reports of duplicate messages, one of my test servers also had a duplicate message, took the server ids and searched the logs, 77 servers out of about 73k that were processed has duplicate ids in the logs
35 replies
DIAdiscord.js - Imagine an app
Created by Stqlth on 2/19/2024 in #djs-questions
Can two shards have the same guild in the guild cache?
it makes no fucing sense
35 replies
DIAdiscord.js - Imagine an app
Created by Stqlth on 2/19/2024 in #djs-questions
Can two shards have the same guild in the guild cache?
No description
35 replies
DIAdiscord.js - Imagine an app
Created by Stqlth on 2/19/2024 in #djs-questions
Can two shards have the same guild in the guild cache?
No description
35 replies
DIAdiscord.js - Imagine an app
Created by Stqlth on 2/19/2024 in #djs-questions
Can two shards have the same guild in the guild cache?
welp, I don't know what the else could be causing my issue so I am going to add some logging to ensure this isn't the case (this is from a job that runs when the bot finishes logging in):
35 replies
DIAdiscord.js - Imagine an app
Created by Stqlth on 2/19/2024 in #djs-questions
Can two shards have the same guild in the guild cache?
yea but on start up there would never be duplicates right?
35 replies
DIAdiscord.js - Imagine an app
Created by Stqlth on 2/19/2024 in #djs-questions
Can two shards have the same guild in the guild cache?
can duplicates exist in the cache?
35 replies
DIAdiscord.js - Imagine an app
Created by Stqlth on 2/19/2024 in #djs-questions
Can two shards have the same guild in the guild cache?
Hmm, I am going to keep investigating and follow up here. If there is a bug causing this it could be specific to big bots
35 replies
DIAdiscord.js - Imagine an app
Created by Stqlth on 2/19/2024 in #djs-questions
Can two shards have the same guild in the guild cache?
I don't really ever fetch specific guilds
35 replies
DIAdiscord.js - Imagine an app
Created by Stqlth on 2/19/2024 in #djs-questions
Can two shards have the same guild in the guild cache?
I might not be explaining my question right. Basically, I have a situation where two shards have the same guild (I don't want this) and I am not sure how it happened
35 replies
DIAdiscord.js - Imagine an app
Created by Stqlth on 2/19/2024 in #djs-questions
Can two shards have the same guild in the guild cache?
I mean is there any other way a guild, not assigned to the shard, to get into the shard's guild cache
35 replies
DIAdiscord.js - Imagine an app
Created by Stqlth on 2/19/2024 in #djs-questions
Can two shards have the same guild in the guild cache?
interesting, is there any other way? (I ask because I don't believe I am doing that, but I will double check to confirm)
35 replies
DIAdiscord.js - Imagine an app
Created by Stqlth on 7/1/2023 in #djs-questions
Preventing some guilds from being cached
Can I add a keepOverLimit to the cache after start up? Essentially start the bot up without one and then once it is ready add the restriction?
21 replies
DIAdiscord.js - Imagine an app
Created by Stqlth on 7/1/2023 in #djs-questions
Preventing some guilds from being cached
No description
21 replies