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
All checks were successful
Code quality checks / biome (push) Successful in 8s
This commit is contained in:
parent
cbd92de7a5
commit
c73b8725c1
21 changed files with 178 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue