fix formatting

This commit is contained in:
Ryan Cao 2022-10-21 20:04:48 +08:00
parent 3e56cecbbf
commit 13effc58fe
No known key found for this signature in database
5 changed files with 164 additions and 153 deletions

View file

@ -7,7 +7,9 @@ export const starsCommand = async (
await i.deferReply();
/* CHANGEME */
const count = await fetch('https://api.github.com/repos/PrismLauncher/PrismLauncher')
const count = await fetch(
'https://api.github.com/repos/PrismLauncher/PrismLauncher'
)
.then((r) => r.json() as Promise<{ stargazers_count: number }>)
.then((j) => j.stargazers_count);