Skip to content
Closed

test #131

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
299c32a
Update bot.js
Kjmodz Jun 20, 2026
ae7cd6b
Update messageCreate.js
Kjmodz Jun 20, 2026
1d1e262
Updated new command
Kjmodz Jun 20, 2026
338a4e9
Update punish.js
Kjmodz Jun 20, 2026
453def2
Update punish.js
Kjmodz Jun 20, 2026
868db38
Update punish.js
Kjmodz Jun 20, 2026
87a4f96
Update punish.js
Kjmodz Jun 20, 2026
1423b6a
Update punish_reviewed.js
Kjmodz Jun 20, 2026
8e57ce4
Update punish_reviewed.js
Kjmodz Jun 20, 2026
2c23408
Adding the Misic Depend
Kjmodz Jun 20, 2026
c6fde5e
fix: replace node:20-alpine with node:20 in Dockerfile (#1)
railway-app[bot] Jun 20, 2026
5393c47
Update Dockerfile
Kjmodz Jun 20, 2026
4b121a9
Merge branch 'main' of https://github.com/KarlJ123/TeamSyne
Kjmodz Jun 20, 2026
39535c2
Adding music
Kjmodz Jun 20, 2026
da2f17f
.
Kjmodz Jun 20, 2026
a2c5cbb
Added Youtube as a backup
Kjmodz Jun 20, 2026
1433d8b
Updated app.js and play.js
Kjmodz Jun 20, 2026
4e381ea
removed music
Kjmodz Jun 20, 2026
76ae5f5
New and replaced announce
Kjmodz Jun 20, 2026
5df7d06
Added LOA Requests
Kjmodz Jun 20, 2026
d3fffa0
Fixed some stuff
Kjmodz Jun 20, 2026
724f91a
Update messageCreate.js
Kjmodz Jun 20, 2026
d25803e
Update messageCreate.js
Kjmodz Jun 20, 2026
8ee9e83
Update messageCreate.js
Kjmodz Jun 20, 2026
0894b6c
Update messageCreate.js
Kjmodz Jun 20, 2026
516974e
Update messageCreate.js
Kjmodz Jun 20, 2026
1d8dbd5
Update messageCreate.js
Kjmodz Jun 20, 2026
af5d20d
Update messageCreate.js
Kjmodz Jun 20, 2026
5943eb2
Update messageCreate.js
Kjmodz Jun 20, 2026
a445543
Update messageCreate.js
Kjmodz Jun 20, 2026
99c7705
Update messageCreate.js
Kjmodz Jun 20, 2026
5474490
Update bot.js
Kjmodz Jun 20, 2026
a923fcc
Update announcement.js
Kjmodz Jun 20, 2026
149abe1
Update announcement.js
Kjmodz Jun 20, 2026
f95b1ea
Updated
Kjmodz Jun 21, 2026
fe55fd8
Update interactionCreate.js
Kjmodz Jun 21, 2026
e9bd6a2
Update ticket.js
Kjmodz Jun 21, 2026
cb303b8
Update ticketButtons.js
Kjmodz Jun 21, 2026
133f201
Update ticket.js
Kjmodz Jun 21, 2026
80b7f3c
Update ticket_panels.js
Kjmodz Jun 21, 2026
dac84be
.
Kjmodz Jun 21, 2026
2461375
Update ticket.js
Kjmodz Jun 21, 2026
0aa80b7
Update ticket.js
Kjmodz Jun 21, 2026
bfc7b7f
Update ticket.js
Kjmodz Jun 21, 2026
4f030a9
Update crime.js
Kjmodz Jun 21, 2026
71ea145
Update crime.js
Kjmodz Jun 21, 2026
0dc9688
Update crime.js
Kjmodz Jun 21, 2026
df7ada9
Update crime.js
Kjmodz Jun 21, 2026
eb05880
Added sticky to the commands
Kjmodz Jun 22, 2026
eff8f81
Update messageCreate.js
Kjmodz Jun 22, 2026
22899a8
Update messageCreate.js
Kjmodz Jun 22, 2026
71c5151
Update messageCreate.js
Kjmodz Jun 23, 2026
196ee1b
Update messageCreate.js
Kjmodz Jun 23, 2026
49421a3
Update messageCreate.js
Kjmodz Jun 23, 2026
a110d03
Update messageCreate.js
Kjmodz Jun 23, 2026
110eaf4
Update messageCreate.js
Kjmodz Jun 23, 2026
ad645c5
Update messageCreate.js
Kjmodz Jun 23, 2026
ba9e9df
Update welcome.js
Kjmodz Jun 23, 2026
d01a0e4
Update guildMemberAdd.js
Kjmodz Jun 23, 2026
7a940bc
Update welcome.js
Kjmodz Jun 24, 2026
abec994
Update welcome.js
Kjmodz Jun 24, 2026
99df6d6
Update guildMemberAdd.js
Kjmodz Jun 24, 2026
d94e945
Update greet_dashboard.js
Kjmodz Jun 24, 2026
6e7b54a
Update reactroles.js
Kjmodz Jun 24, 2026
28b304f
Update messageCreate.js
Kjmodz Jun 24, 2026
751c253
Update messageCreate.js
Kjmodz Jun 25, 2026
269f655
Updated backend stuff
Kjmodz Jun 25, 2026
1fa2d97
Fixed some punish stuff
Kjmodz Jun 25, 2026
6f5b8f7
Fixed again the punishments and Added Something to ticket side
Kjmodz Jun 25, 2026
73ddf74
Added Mass DM
Kjmodz Jun 25, 2026
1458971
Removed some stuff we dont need
Kjmodz Jun 25, 2026
ccad686
Removed 2 useless commands
Kjmodz Jun 25, 2026
502267f
Update punish.js
Kjmodz Jun 25, 2026
f347d08
Update punish.js
Kjmodz Jun 25, 2026
f62ca8c
Update punish.js
Kjmodz Jun 25, 2026
d65d3b1
Update punish.js
Kjmodz Jun 25, 2026
6121af2
Update punish.js
Kjmodz Jun 25, 2026
31a3aa7
Update punish.js
Kjmodz Jun 25, 2026
9cf2c49
Fix some things
Kjmodz Jun 25, 2026
93566b6
Update punish.js
Kjmodz Jun 25, 2026
1fc6ea1
Update punish.js
Kjmodz Jun 25, 2026
4471919
Added new offences
Kjmodz Jun 26, 2026
c57be7c
.
Kjmodz Jun 26, 2026
f0f4af2
Update punish.js
Kjmodz Jun 26, 2026
16a57a6
Update punish.js
Kjmodz Jun 26, 2026
2318de3
Update punish.js
Kjmodz Jun 26, 2026
27728ab
Update ticket.js
Kjmodz Jun 26, 2026
b95d6ea
Update ticket.js
Kjmodz Jun 26, 2026
4eebd1c
Remove transcript generation and sending from deleteTicket
Kjmodz Jun 26, 2026
b675ff5
Adding a website for the bot
Kjmodz Jun 26, 2026
c769bb9
Use PostgreSQL session store to fix MemoryStore warning
Kjmodz Jun 26, 2026
4c0fdff
Fix pg session store pool conflict
Kjmodz Jun 26, 2026
be44a4b
Add auth debug endpoint
Kjmodz Jun 26, 2026
d7597be
Save session before OAuth redirect to fix invalid state error
Kjmodz Jun 26, 2026
18caf13
Trust proxy on Railway to fix session cookie over HTTPS
Kjmodz Jun 26, 2026
b25a6ae
Remove connect-pg-simple to fix pool conflict errors
Kjmodz Jun 26, 2026
42e5bd5
Add detailed Discord token error logging
Kjmodz Jun 26, 2026
0e26a1c
Rebrand dashboard sidebar to KJ'S CUSTOMS
Kjmodz Jun 26, 2026
fe6a7c2
Redesign dashboard with dark red theme and pill tabs
Kjmodz Jun 26, 2026
d66e706
Add Leveling, Birthdays, and Verification tabs to dashboard
Kjmodz Jun 26, 2026
338823b
Update dashboard.html
Kjmodz Jun 26, 2026
026db39
Add application management system to dashboard
Kjmodz Jun 26, 2026
b89db99
Log application decisions to Discord channel from dashboard
Kjmodz Jun 27, 2026
c17b28b
Fix modal field ID mismatch in app-admin review handler
Kjmodz Jun 27, 2026
0c15572
Add music system with discord-player v6
Kjmodz Jun 27, 2026
5b6daa3
Fix CJS/ESM import for @discord-player/extractor
Kjmodz Jun 27, 2026
04e622c
Show real error message in /play for debugging
Kjmodz Jun 27, 2026
ee362cd
Fix extractor loading — use loadDefault() instead of loadMulti
Kjmodz Jun 27, 2026
269fa74
Add @distube/ytdl-core for YouTube streaming support
Kjmodz Jun 27, 2026
26a3e72
Switch from @distube/ytdl-core to play-dl for YouTube streaming
Kjmodz Jun 27, 2026
10905d5
Strip YouTube Mix params from play query before searching
Kjmodz Jun 27, 2026
e95b400
Switch to youtube-ext (preferred library for YoutubeExtractor)
Kjmodz Jun 27, 2026
6fa221c
Load YoutubeExtractor with YOUTUBE_COOKIE env var for bot detection b…
Kjmodz Jun 27, 2026
d6d6cd1
Switch to discord-player-youtubei for stable YouTube streaming
Kjmodz Jun 27, 2026
e8c749c
Add ffmpeg + yt-dlp to Dockerfile, install youtube-dl-exec
Kjmodz Jun 27, 2026
272a352
Remove music system entirely
Kjmodz Jun 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .claude/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"version": "0.0.1",
"configurations": [
{
"name": "dashboard-preview",
"runtimeExecutable": "npx",
"runtimeArgs": ["serve", "-p", "5173", "src/web/public"],
"port": 5173
}
]
}
7 changes: 7 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ WEB_HOST=0.0.0.0
PORT_RETRY_ATTEMPTS=5
CORS_ORIGIN=*

# Dashboard (OAuth2 — create an app at discord.com/developers)
# Set DASHBOARD_URL to where your bot is hosted, e.g. http://localhost:3000
# Add <DASHBOARD_URL>/auth/callback as a Redirect URI in your Discord app
DISCORD_CLIENT_SECRET=your_discord_client_secret_here
DASHBOARD_URL=http://localhost:3000
SESSION_SECRET=change_this_to_a_long_random_string

# PostgreSQL Configuration (Primary Database)
# Railway: use the private POSTGRES_URL / DATABASE_URL variable (includes SSL).
# Public proxy logs showing "invalid length of startup packet" or "SSL without ALPN"
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine
FROM node:20

# Create app directory
WORKDIR /usr/src/app
Expand All @@ -8,7 +8,7 @@ WORKDIR /usr/src/app
COPY package*.json ./

# Install only production dependencies
RUN npm ci --omit=dev
RUN npm install --omit=dev

# Bundle app source
COPY . .
Expand All @@ -17,4 +17,4 @@ COPY . .
EXPOSE 3000

# Start the bot
CMD [ "npm", "start" ]
CMD [ "npm", "start" ]
Loading