Commit graph

20 commits

Author SHA1 Message Date
sirpiglr
a283e81c5e Add a secure bot management panel and new Discord commands
Implement server-side proxy endpoints for bot management, add admin token authentication, and introduce new Discord slash commands for help, stats, leaderboards, and posting.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: f0eccab4-b258-4b1c-a2a5-e7b2b3c56c44
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/ryY0zvi
Replit-Helium-Checkpoint-Created: true
2025-12-04 02:44:05 +00:00
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
be7ed554cd Implement bidirectional Discord and feed channel synchronization
Add an HTTP endpoint to the Discord bot to receive posts from the main server and call the Discord API to send these posts as rich embeds to the configured feed channel. Also, update the main server to call this new Discord bot endpoint when a new post is created.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 82d93ef8-d6c2-4d69-96c4-6fa5da4ec508
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:36:05 +00:00
Builder.io
0e3bda5de6 completionId: cgen-12662d7cd3774b208c610e9b0091bae5
cgen-12662d7cd3774b208c610e9b0091bae5
2025-11-13 08:54:30 +00:00
Builder.io
2fa9f63763 Prettier format pending files 2025-11-09 22:40:19 +00:00
Builder.io
16c010742a completionId: cgen-f48353eb9ca44f41a0ac6608d360af38
cgen-f48353eb9ca44f41a0ac6608d360af38
2025-11-09 22:16:18 +00:00
Builder.io
7ca2e74151 completionId: cgen-1d70769f8a0d488d921283e8f049547d
cgen-1d70769f8a0d488d921283e8f049547d
2025-11-09 22:16:13 +00:00
Builder.io
cf34d592c3 Configure health server to use port 8044 as default
cgen-524503d5f1594a3fbcf717a6dbe33b0a
2025-11-09 22:05:22 +00:00
Builder.io
63e86bb70d completionId: cgen-c4c730afe5694df69b9b8ee1b0ab592c
cgen-c4c730afe5694df69b9b8ee1b0ab592c
2025-11-09 04:58:20 +00:00
Builder.io
e3fd976077 Prettier format pending files 2025-11-09 04:42:09 +00:00
Builder.io
9c0a12eafa completionId: cgen-849d95395f8e445f8f8833b2500748ac
cgen-849d95395f8e445f8f8833b2500748ac
2025-11-09 04:41:42 +00:00
Builder.io
00dffd8df7 completionId: cgen-a6ed9af59a90456bbc5cf0379fe4b668
cgen-a6ed9af59a90456bbc5cf0379fe4b668
2025-11-09 00:45:21 +00:00
Builder.io
a8b8b99bf9 completionId: cgen-5f8fd56272804bf4bde96ea0a3a30772
cgen-5f8fd56272804bf4bde96ea0a3a30772
2025-11-09 00:45:15 +00:00
Builder.io
17c9fc4cfa Prettier format pending files 2025-11-08 21:01:53 +00:00
Builder.io
c933d85232 completionId: cgen-ad565a61bc6047fd9c5f2b736d564a4f
cgen-ad565a61bc6047fd9c5f2b736d564a4f
2025-11-08 20:51:06 +00:00
Builder.io
5eab5f53e6 Prettier format pending files 2025-11-08 17:32:49 +00:00
Builder.io
05d532eac6 Fix Discord command registration to handle Entry Point commands
cgen-fcd06c7fbb114ff79c35bc8c149e10a2
2025-11-08 13:26:38 +00:00
Builder.io
ce4a36fcde Add environment variable validation to bot.js
cgen-65cdc8ed704240e68cf47c612775b9eb
2025-11-08 13:06:17 +00:00
Builder.io
e5aacf6773 Prettier format pending files 2025-11-08 11:03:25 +00:00
Builder.io
e0ed277eb9 Create main Discord.js bot server
cgen-1510349e31f84ab4bc9ae552d136d6b5
2025-11-08 10:41:13 +00:00