Files
name-100-uio-gamers/src/app/types.ts
T
leander d096be3357 fix duplicate displayname/nickname matching issue
the matching logic now handles cases where there are multiple people with the same nickname or global name
2025-06-22 13:10:43 +02:00

22 lines
412 B
TypeScript

export interface Match {
id?: string;
input: string;
name: string | undefined;
description: string | undefined;
translationKey?: string;
correct: boolean;
}
export interface DiscordGuildMember {
user: {
id: string;
username: string;
global_name: string | null;
discriminator: string;
avatar: string | null;
};
nick: string | null;
roles: string[];
joined_at: string;
}