mirror of
https://github.com/UiO-Gaming/name-100-uio-gamers.git
synced 2026-11-05 13:56:53 +01:00
the matching logic now handles cases where there are multiple people with the same nickname or global name
22 lines
412 B
TypeScript
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;
|
|
}
|