Commit graph

8 commits

Author SHA1 Message Date
sirpiglr
760878a587 Remove duplicate bot startup and simplify message syncing logic
Removes the duplicate `client.once("ready", ...)` handler from `bot.js` to prevent duplicate startup messages and processes. Simplifies the message handling in `messageCreate.js` to exclusively sync messages from the configured `DISCORD_MAIN_CHAT_CHANNELS`, ignoring other channel types.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: cda164c8-9ba9-4933-8c84-17f4dcdb866a
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:39:44 +00:00
sirpiglr
d442a1cd5a Limit bot messages to specific channels to prevent unwanted syncing
Add conditional logic to only sync messages from configured channels like main chat, announcements, and the feed channel, preventing all messages from being processed.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 1cbe8f4b-356c-4837-ace1-6973d0cbee0c
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:37:28 +00:00
sirpiglr
68d4a25357 Add Discord integration to display messages in the community feed
Integrates Discord messages into the community feed by adding a Discord source type, displaying channel names and author tags, and creating a Discord icon for the UI. The bot now handles messages from main chat channels and syncs them to the feed, creating guest profiles for unlinked Discord users.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 0a135de7-860c-4a4d-9cbe-7644c5fca3f0
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/ebxARkc
Replit-Helium-Checkpoint-Created: true
2025-12-03 03:05:25 +00:00
Builder.io
aaac82137c Prettier format pending files 2025-11-15 02:11:47 +00:00
Builder.io
bc2e0fe10d Discord Bot - Message handler with announcements sync
cgen-43cc4ddef6574e6d853f8790e718549a
2025-11-14 22:26:45 +00:00
Builder.io
9e88ea1991 completionId: cgen-bc75587d5ae14a12866e402958c94e76
cgen-bc75587d5ae14a12866e402958c94e76
2025-11-14 22:26:24 +00:00
Builder.io
1a72f45796 Prettier format pending files 2025-11-13 08:58:30 +00:00
Builder.io
748f41b222 Discord Feed Sync - Post to Discord webhook
cgen-d3c9a84bab384df6bbaaae65b9f5f7f3
2025-11-13 08:54:22 +00:00