Remove pruning duplicates

This commit is contained in:
Tarrgon
2025-06-04 14:51:37 -04:00
parent 5486417f41
commit bf21e9b423
+1 -1
View File
@@ -46,7 +46,7 @@ export async function getDiscordAlts(e621Id: number, guild: Guild, depth = 1, ig
banned = !!(await guild.bans.fetch(discordId)); banned = !!(await guild.bans.fetch(discordId));
} catch (e) { } } catch (e) { }
if (alts || banned) content += `${'- '.repeat(depth)}<@${discordId}>${banned ? ' [BANNED]' : ''}\n${alts}`; content += `${'- '.repeat(depth)}<@${discordId}>${banned ? ' [BANNED]' : ''}\n${alts}`;
} }
return content; return content;