This commit is contained in:
NoLogicAlan committed 2026-09-10 03:02:51 +03:00
1 parent 35aab94a53
commit 3ef54117bb
27 files changed
+5 -156

No files matched your search

-2
View File
@@ -65,14 +65,12 @@ export function get247ChannelMode(set, channelId) {
* Original GatewayHandler.mjs and index.mjs still import this.
*/
export function remove247ChannelMode(set, channelId, currentChannels) {
// No-op: modes no longer exist, stay_247 array is managed directly.
}
/**
* No-op: per-channel modes removed. Kept for backward compatibility.
*/
export function set247ChannelMode(set, channelId, mode) {
// No-op: modes no longer exist.
}
/**
-2
View File
@@ -51,7 +51,6 @@ export function shardIdForGuild(client, guildId) {
if (Number.isInteger(id) && id >= 0) return id;
}
} catch {
// fall through to the single-process default
}
return 0;
}
@@ -74,7 +73,6 @@ export function getLocalShards(client) {
return [...map.entries()].filter(([id]) => Number.isInteger(id));
}
} catch {
// Fluxer 3.0: client.ws throws before login — treat as "no shards yet".
}
return [];
}