aethex-forge/discord-bot
sirpiglr 528ba244f8 Implement polling to fetch new posts for Discord synchronization
Replace Supabase Realtime subscription with a polling mechanism in `discord-bot/listeners/feedSync.js` to fetch new community posts and send them to Discord. This change removes the direct HTTP call from the server to the bot and introduces a `POLL_INTERVAL` of 5000ms, along with a `cleanup` function to clear the interval.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 381cfcae-1168-4daa-b95e-ba1416e8ce9c
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/duiWnI1
Replit-Helium-Checkpoint-Created: true
2025-12-03 03:56:41 +00:00
..
commands Add verification code storage for Discord usernames 2025-12-02 22:37:32 +00:00
events Remove duplicate bot startup and simplify message syncing logic 2025-12-03 03:39:44 +00:00
listeners Implement polling to fetch new posts for Discord synchronization 2025-12-03 03:56:41 +00:00
scripts Prettier format pending files 2025-11-08 21:01:53 +00:00
utils Prettier format pending files 2025-11-08 17:32:49 +00:00
.env Update Discord bot with fresh token 2025-11-10 08:08:40 +00:00
.env.example Discord Bot environment variables 2025-11-14 22:26:14 +00:00
bot.js Remove duplicate bot startup and simplify message syncing logic 2025-12-03 03:39:44 +00:00
DEPLOYMENT_GUIDE.md Prettier format pending files 2025-11-08 17:32:49 +00:00
discloud.config Create Discloud configuration for Discord bot 2025-11-08 12:27:28 +00:00
Dockerfile Create Dockerfile for Discord bot on Spaceship 2025-11-08 10:44:08 +00:00
package-lock.json Saved progress at the end of the loop 2025-12-02 22:07:18 +00:00
package.json completionId: cgen-9d549678276244328bf91000db330e30 2025-11-15 03:05:29 +00:00