+1
features/index.ts
+1
features/index.ts
+127
features/unfurl.ts
+127
features/unfurl.ts
···+text: "The api has full swagger docs available at <https://waka.hackclub.com/swagger-ui/swagger-ui/index.html|`/swagger-ui`> if you have any questions about the api or need an admin token dm <@U062UG485EE>",+"https://hc-cdn.hel1.your-objectstorage.com/s/v3/c8e02c0a89535d80ce8e0a64ef36f0ead31ad26a_image.png",+text: `<@${user}> has spent ${hours} hours, ${minutes} minutes, and ${seconds} seconds coding in the ${interval.replaceAll("_", " ")}${interval.includes("days") || interval.includes("month") ? "" : " interval"}.${link.toString().includes("settings#danger_zone") ? "\n\ncareful there bud :eyes: the danger zone is no joke" : ""}${link.toString().includes("projects") ? `\n\nthey have over ${userData.projects.length} projects with the biggest being \`${userData.projects.sort((a: { total: number }, b: { total: number }) => b.total - a.total)[0].key}\` at \`${Math.floor(userData.projects.sort((a: { total: number }, b: { total: number }) => b.total - a.total)[0].total / 3600)} hours\`` : ""}`,
+19
features/unfurl.types.ts
+19
features/unfurl.types.ts
···
+8
manifest.yaml
+8
manifest.yaml
······