This commit is contained in:
Rory&
2025-12-17 22:25:38 +01:00
parent 6034e3059a
commit dfdc8d5a23
4 changed files with 3 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -130,6 +130,7 @@ async function getWidgetJsonData(guild_id: string) {
return {
id: x.id,
username: x.user.username,
global_name: x.user.global_name,
discriminator: x.user.discriminator,
avatar: null,
status: "online", // TODO
@@ -154,4 +155,4 @@ async function getWidgetJsonData(guild_id: string) {
} as GuildWidgetJsonResponse;
}
export default router;
export default router;

View File

@@ -75,7 +75,7 @@ router.get(
id: req.user_id,
bot: false,
},
select: { id: true, username: true, avatar: true, discriminator: true, public_flags: true, global_name: true, public_flags: true },
select: { id: true, username: true, avatar: true, discriminator: true, public_flags: true, global_name: true },
});
const guilds = await Member.find({