add discord badges from https://git.creations.works/seth pr, fixed a few things
All checks were successful
Code quality checks / biome (push) Successful in 8s

This commit is contained in:
creations 2025-04-19 22:46:35 -04:00
parent cbd92de7a5
commit c73b8725c1
Signed by: creations
GPG key ID: 8F553AA4320FC711
21 changed files with 178 additions and 5 deletions

View file

@ -34,4 +34,10 @@ export const badgeServices: badgeURLMap[] = [
`https://raw.githubusercontent.com/enmity-mod/badges/main/data/${id}.json`,
}),
},
{
service: "Discord",
url: (userId: string) => `https://discord.com/api/v10/users/${userId}`,
},
];
export const botToken: string | undefined = process.env.DISCORD_TOKEN;