mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
bye
This commit is contained in:
1 parent
35aab94a53
commit
3ef54117bb
27 files changed
+5
-156
No files matched your search
@@ -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.
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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 [];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user