Add user id to user-related messages

This commit is contained in:
Tarrgon
2025-11-18 11:49:09 -05:00
parent f86bda1ff3
commit ed6cd90627
4 changed files with 6 additions and 6 deletions
+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));
} catch (e) { }
content += `${' '.repeat((depth - 1) * 2)}- <@${discordId}>${banned ? ' [BANNED]' : ''}\n${alts}`;
content += `${' '.repeat((depth - 1) * 2)}- <@${discordId}> (${discordId})${banned ? ' [BANNED]' : ''}\n${alts}`;
}
return content;
+1 -1
View File
@@ -14,5 +14,5 @@ export async function handleWhoIsInteraction(interaction: CommandInteraction, va
const content = await getE621Alts(user.id, interaction.guild!);
interaction.editReply(`<@${user.id}>'s e621 and discord account(s):\n${content}`);
interaction.editReply(`<@${user.id}>'s (${user.id}) e621 and discord account(s):\n${content}`);
}