feat: new stats embed / api

This commit is contained in:
alyssa 2025-01-05 00:52:45 +00:00
parent e88d6b7e2a
commit 9f8d3d22d2
8 changed files with 215 additions and 100 deletions

View file

@ -74,7 +74,6 @@ async fn real_main() -> anyhow::Result<()> {
"message stats updater",
update_db_message_meta
);
// every minute
doforever!("* * * * *", "discord stats updater", update_discord_stats);
// on :00 and :30
doforever!(
@ -82,6 +81,7 @@ async fn real_main() -> anyhow::Result<()> {
"queue deleted image cleanup job",
queue_deleted_image_cleanup
);
doforever!("0,30 * * * * *", "stats api updater", update_stats_api);
set.join_next()
.await