refactor: remove dead code (#3337)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-09 01:41:26 +02:00
1 parent a19002652b
commit 93d1f8af46
1527 files changed
+21170 -73846

No files matched your search

@@ -29,11 +29,11 @@ interface CrosspostSourceCounts {
presenceCount: number;
}
export function crosspostSourceCountsCacheKey(guildId: GuildID): string {
function crosspostSourceCountsCacheKey(guildId: GuildID): string {
return `crosspost-source:counts:${guildId.toString()}`;
}
export function getCrosspostSourceGuildId(message: MessageResponse): GuildID | null {
function getCrosspostSourceGuildId(message: MessageResponse): GuildID | null {
const isCopy = (message.flags & MessageFlags.IS_CROSSPOST) !== 0;
const isFollowNotice = message.type === MessageTypes.CHANNEL_FOLLOW_ADD;
if (!isCopy && !isFollowNotice) {