Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
219 commits
Select commit Hold shift + click to select a range
c3bf7f0
Update bot.js
abdallahsaleed2001-afk Aug 1, 2026
e5d6a43
Update nodes.json
abdallahsaleed2001-afk Aug 8, 2026
bd155bd
Update nodes.json
abdallahsaleed2001-afk Aug 8, 2026
e074d12
Update nodes.json
abdallahsaleed2001-afk Aug 8, 2026
d21f853
Update nodes.json
abdallahsaleed2001-afk Aug 8, 2026
be9f00b
Update nodes.json
abdallahsaleed2001-afk Aug 8, 2026
f5fea06
Update nodes.json
abdallahsaleed2001-afk Aug 8, 2026
e3daa80
Update nodes.json
abdallahsaleed2001-afk Aug 8, 2026
9133d1f
Update lavalink.js
abdallahsaleed2001-afk Aug 9, 2026
bae597c
Update randomuser.js
abdallahsaleed2001-afk Aug 9, 2026
96a165b
Update randomuser.js
abdallahsaleed2001-afk Aug 9, 2026
57a3ef0
Update randomuser.js
abdallahsaleed2001-afk Aug 9, 2026
7a4d9bf
Update randomuser.js
abdallahsaleed2001-afk Aug 9, 2026
aaaf8a8
Update randomuser.js
abdallahsaleed2001-afk Aug 9, 2026
420d8eb
Update randomuser.js
abdallahsaleed2001-afk Aug 9, 2026
216504c
Update randomuser.js
abdallahsaleed2001-afk Aug 9, 2026
50ddc31
Update randomuser.js
abdallahsaleed2001-afk Aug 9, 2026
fd0f691
Update randomuser.js
abdallahsaleed2001-afk Aug 9, 2026
2a0541b
Update randomuser.js
abdallahsaleed2001-afk Aug 9, 2026
3f2389d
Update randomuser.js
abdallahsaleed2001-afk Aug 9, 2026
1594a3a
Update randomuser.js
abdallahsaleed2001-afk Aug 9, 2026
574fded
Update countdown.js
abdallahsaleed2001-afk Aug 9, 2026
4d2b1bd
Modify lock command to target specific role
abdallahsaleed2001-afk Aug 21, 2026
ebd2d58
Refactor unlock command for specific role unlocking
abdallahsaleed2001-afk Aug 21, 2026
f7eabca
Add hide command for channel moderation
abdallahsaleed2001-afk Aug 21, 2026
10e81b1
Implement unhide command for channel visibility
abdallahsaleed2001-afk Aug 21, 2026
e00b0e2
Add mute command for moderating members
abdallahsaleed2001-afk Aug 21, 2026
5396a06
Add unmute command for moderating members
abdallahsaleed2001-afk Aug 21, 2026
b69b974
Enhance mute command with duration and file management
abdallahsaleed2001-afk Aug 21, 2026
45527c1
Update commandLoader.js
abdallahsaleed2001-afk Aug 22, 2026
a5ce86f
Delete src/commands/Economy directory
abdallahsaleed2001-afk Aug 22, 2026
83e6e03
Delete src/utils/economy.js
abdallahsaleed2001-afk Aug 22, 2026
61e46c5
Delete src/services/economyService.js
abdallahsaleed2001-afk Aug 22, 2026
811b092
Add security configuration service
abdallahsaleed2001-afk Aug 22, 2026
fc11449
Add anti-nuke protection
abdallahsaleed2001-afk Aug 22, 2026
9546385
Add anti-raid protection
abdallahsaleed2001-afk Aug 22, 2026
4e387c4
Add advanced automod engine
abdallahsaleed2001-afk Aug 22, 2026
ff9de34
Hook AutoMod into message events
abdallahsaleed2001-afk Aug 22, 2026
49effb6
Hook Anti-Raid into member joins
abdallahsaleed2001-afk Aug 22, 2026
c60cdaa
Hook Anti-Nuke channel deletion detection
abdallahsaleed2001-afk Aug 22, 2026
9481eb4
Hook Anti-Nuke channel creation detection
abdallahsaleed2001-afk Aug 22, 2026
da7e096
Hook Anti-Nuke role deletion detection
abdallahsaleed2001-afk Aug 22, 2026
af61e01
Hook Anti-Nuke role creation detection
abdallahsaleed2001-afk Aug 22, 2026
37cf2b6
Hook Anti-Nuke ban detection
abdallahsaleed2001-afk Aug 22, 2026
40c797e
Hook Anti-Nuke kick detection
abdallahsaleed2001-afk Aug 22, 2026
50b84e1
Add security configuration dashboard
abdallahsaleed2001-afk Aug 22, 2026
34be1a8
Add security dashboard command
abdallahsaleed2001-afk Aug 22, 2026
06f6f92
Add security dashboard interaction handlers
abdallahsaleed2001-afk Aug 22, 2026
8f4f1fd
Register security dashboard buttons
abdallahsaleed2001-afk Aug 22, 2026
96fffa5
Register security dashboard modals
abdallahsaleed2001-afk Aug 22, 2026
d4a61ba
Fix Anti-Nuke role stripping
abdallahsaleed2001-afk Aug 22, 2026
ae3e57f
Harden security configuration and strike decay
abdallahsaleed2001-afk Aug 22, 2026
bf34e34
Fix Anti-Raid lockdown restoration and state handling
abdallahsaleed2001-afk Aug 22, 2026
c7e51ad
Harden Anti-Nuke audit detection and dangerous-role stripping
abdallahsaleed2001-afk Aug 22, 2026
4fc734e
Upgrade AutoMod detection and escalation behavior
abdallahsaleed2001-afk Aug 22, 2026
3d69518
Add Anti-Nuke role permission escalation detection
abdallahsaleed2001-afk Aug 22, 2026
ff3d509
Add webhook change protection event
abdallahsaleed2001-afk Aug 22, 2026
f9731f0
Fix webhook audit matching in Anti-Nuke
abdallahsaleed2001-afk Aug 22, 2026
1cc60c3
Build full security dashboard with escalation and whitelist controls
abdallahsaleed2001-afk Aug 22, 2026
3e24a14
Attach security dashboard to web server on bot ready
abdallahsaleed2001-afk Aug 22, 2026
2ff8aa8
Apply AutoMod to edited messages
abdallahsaleed2001-afk Aug 22, 2026
bb56bb7
Add Anti-Nuke unauthorized bot addition detection
abdallahsaleed2001-afk Aug 22, 2026
6a57f34
Fix dangerous permission detection for role escalation
abdallahsaleed2001-afk Aug 22, 2026
d9e173e
Tune Anti-Nuke defaults for severe permission and bot changes
abdallahsaleed2001-afk Aug 22, 2026
294a933
Document security dashboard environment settings
abdallahsaleed2001-afk Aug 22, 2026
447bfa7
Monitor webhook create, update, and delete audit actions
abdallahsaleed2001-afk Aug 22, 2026
2e88362
Add security permission health checks on startup
abdallahsaleed2001-afk Aug 22, 2026
15c40a2
Add full in-Discord security dashboard controls
abdallahsaleed2001-afk Aug 22, 2026
9d25682
Add private Discord security dashboard command
abdallahsaleed2001-afk Aug 22, 2026
c217b56
Fix security dashboard initial UI
abdallahsaleed2001-afk Aug 22, 2026
cf53468
Redesign security dashboard UI
abdallahsaleed2001-afk Aug 22, 2026
f7f27ed
Export security dashboard builders
abdallahsaleed2001-afk Aug 22, 2026
2e05193
Use redesigned security dashboard across interactions
abdallahsaleed2001-afk Aug 22, 2026
f467a41
Improve security dashboard with inline control panels
abdallahsaleed2001-afk Aug 22, 2026
ee0af58
Add inline security dashboard navigation and controls
abdallahsaleed2001-afk Aug 22, 2026
39140a4
Add AutoMod spam detection and escalation
abdallahsaleed2001-afk Aug 22, 2026
941e4e0
Run AutoMod before message processing
abdallahsaleed2001-afk Aug 22, 2026
cf31c4d
Add per-rule security punishments
abdallahsaleed2001-afk Aug 22, 2026
41fddf5
Use per-operation Anti-Nuke punishments
abdallahsaleed2001-afk Aug 22, 2026
9c8a6d4
Use configurable Anti-Raid punishment
abdallahsaleed2001-afk Aug 22, 2026
e124966
Add per-rule punishment controls to security dashboard
abdallahsaleed2001-afk Aug 22, 2026
3fc8bd6
Add per-rule punishment controls to security dashboard
abdallahsaleed2001-afk Aug 22, 2026
dc539ac
Add strikes management to security dashboard
abdallahsaleed2001-afk Aug 22, 2026
6118b65
Add security strike leaderboard and reset controls
abdallahsaleed2001-afk Aug 22, 2026
0d9b5fb
Add hierarchical AutoMod and combined strike/warning controls
abdallahsaleed2001-afk Aug 22, 2026
91d346a
Wire hierarchical security dashboard handlers
abdallahsaleed2001-afk Aug 22, 2026
57297e5
Wire advanced AutoMod modal handlers
abdallahsaleed2001-afk Aug 22, 2026
346fe73
Make AutoMod punishments rule-specific with strike escalation
abdallahsaleed2001-afk Aug 22, 2026
0ed9778
Support combined security warning leaderboard queries
abdallahsaleed2001-afk Aug 22, 2026
dfd1e5d
Add unified hierarchical Security dashboard controls
abdallahsaleed2001-afk Aug 22, 2026
dd08ae9
Enable hierarchical controls for every Security panel
abdallahsaleed2001-afk Aug 22, 2026
953fe09
Enable hierarchical Security modal controls
abdallahsaleed2001-afk Aug 22, 2026
ce77588
Route legacy Security panel buttons to hierarchical dashboard
abdallahsaleed2001-afk Aug 22, 2026
00a5a66
Route all Security panels through hierarchical dashboard
abdallahsaleed2001-afk Aug 22, 2026
4cbdb35
Complete per-rule punishment navigation for Security dashboard
abdallahsaleed2001-afk Aug 22, 2026
1542c71
Finish Security rule navigation routing
abdallahsaleed2001-afk Aug 22, 2026
2a38dbb
Add public temporary voice control panel service
abdallahsaleed2001-afk Aug 22, 2026
00ce3f0
Create public control panels for temporary voice rooms
abdallahsaleed2001-afk Aug 22, 2026
38e6b66
Add public temporary voice room controls
abdallahsaleed2001-afk Aug 22, 2026
b0a3ec3
Fix temporary voice privacy state handling
abdallahsaleed2001-afk Aug 22, 2026
7d30f0d
Fix temporary voice panel component routing
abdallahsaleed2001-afk Aug 22, 2026
4a62019
Make temporary voice panel creation resilient to event ordering
abdallahsaleed2001-afk Aug 22, 2026
48ff17e
Fix security AutoMod dashboard routing and rule settings
abdallahsaleed2001-afk Aug 22, 2026
df87acd
Register AutoMod security dashboard handlers
abdallahsaleed2001-afk Aug 22, 2026
36ca51c
Update securityPanelOverrides.js
abdallahsaleed2001-afk Aug 22, 2026
ae6f267
Fix security command to use new dashboard handlers
abdallahsaleed2001-afk Aug 22, 2026
91f77fc
Export unified security dashboard builder
abdallahsaleed2001-afk Aug 22, 2026
ceb4123
Unify security button handlers
abdallahsaleed2001-afk Aug 22, 2026
9015bce
Fix legacy security panel aliases
abdallahsaleed2001-afk Aug 22, 2026
e3c52e2
Delete src/commands/Core/security.js
abdallahsaleed2001-afk Aug 22, 2026
48e1618
fix security dashboard interaction handlers
abdallahsaleed2001-afk Aug 22, 2026
df60ab1
fix security button handler loading
abdallahsaleed2001-afk Aug 22, 2026
e0ea16c
Fix AutoMod button and preserve exact security dashboard on Back
abdallahsaleed2001-afk Aug 22, 2026
49a7c88
Prioritize Security dashboard overrides for AutoMod and Back
abdallahsaleed2001-afk Aug 22, 2026
ac5f5b3
fix security automod legacy button alias
abdallahsaleed2001-afk Aug 22, 2026
723f00a
fix automod handler syntax and legacy alias
abdallahsaleed2001-afk Aug 22, 2026
585619e
fix security back to preserve original dashboard
abdallahsaleed2001-afk Aug 22, 2026
32e52dd
fix security handler precedence and dashboard back behavior
abdallahsaleed2001-afk Aug 22, 2026
8fe8703
Fix Security AutoMod alias and preserve original dashboard on Back
abdallahsaleed2001-afk Aug 22, 2026
fd55774
Prioritize Security compatibility handlers for legacy buttons and Back
abdallahsaleed2001-afk Aug 22, 2026
0fb13af
Fix security back dashboard to use the original /security dashboard
abdallahsaleed2001-afk Aug 22, 2026
a5055ca
Add TempVoice persistence and room service
abdallahsaleed2001-afk Aug 22, 2026
75df143
Add /tempvoice setup and control panel
abdallahsaleed2001-afk Aug 22, 2026
643f44a
Connect TempVoice setup to existing JoinToCreate engine
abdallahsaleed2001-afk Aug 22, 2026
eb679cc
Add TempVoice room control buttons
abdallahsaleed2001-afk Aug 22, 2026
3e8ea0d
Add TempVoice control modal handlers
abdallahsaleed2001-afk Aug 22, 2026
a11dd79
Fix TempVoice delete persistence
abdallahsaleed2001-afk Aug 22, 2026
83bc5e3
Harden TempVoice setup and reset
abdallahsaleed2001-afk Aug 22, 2026
15a0afe
Keep TempVoice owner visible when hiding room
abdallahsaleed2001-afk Aug 22, 2026
1c14cd1
Harden TempVoice ownership transfer and modal controls
abdallahsaleed2001-afk Aug 22, 2026
657cce4
feat: add suggestions system command
abdallahsaleed2001-afk Aug 22, 2026
d63a5bb
feat: add suggestions storage and setup
abdallahsaleed2001-afk Aug 22, 2026
7bb2638
feat: add suggestion panel buttons
abdallahsaleed2001-afk Aug 22, 2026
d64256a
feat: add suggestion submission modal
abdallahsaleed2001-afk Aug 22, 2026
9bae1eb
fix: acknowledge suggestion buttons before updates
abdallahsaleed2001-afk Aug 22, 2026
61541cd
fix: persist suggestion counter with submissions
abdallahsaleed2001-afk Aug 22, 2026
4d870ca
feat: add partner system command
abdallahsaleed2001-afk Aug 22, 2026
e92eb3f
feat: add partnership panel foundation
abdallahsaleed2001-afk Aug 22, 2026
fc8251a
feat: add partner button interactions
abdallahsaleed2001-afk Aug 22, 2026
018eb19
feat: add partnership application modal
abdallahsaleed2001-afk Aug 22, 2026
43dd9c5
fix: create dedicated partnership request channel
abdallahsaleed2001-afk Aug 22, 2026
1eaac76
feat: complete partner command dashboard
abdallahsaleed2001-afk Aug 22, 2026
57a54f6
feat: complete persistent partnership system
abdallahsaleed2001-afk Aug 22, 2026
c08cbe6
feat: complete partner interactions and management
abdallahsaleed2001-afk Aug 22, 2026
39dbfa2
feat: persist partnership applications
abdallahsaleed2001-afk Aug 22, 2026
a862a68
feat: add partnership settings modal
abdallahsaleed2001-afk Aug 22, 2026
f09ba56
fix: simplify Arabic partnership panel and set minimum members to 20
abdallahsaleed2001-afk Aug 22, 2026
c880799
feat: configure partnership announcement channel from setup
abdallahsaleed2001-afk Aug 22, 2026
76c1337
fix: configure partnership announcement channel and simplify panel
abdallahsaleed2001-afk Aug 22, 2026
33ce42d
fix: remove redundant partner panel buttons and localize partner UI
abdallahsaleed2001-afk Aug 22, 2026
8221f75
fix: localize partnership application responses
abdallahsaleed2001-afk Aug 22, 2026
34dce34
fix: migrate legacy 500 member partnership requirement to 20
abdallahsaleed2001-afk Aug 22, 2026
424e661
fix: post accepted partnerships as plain mentions
abdallahsaleed2001-afk Aug 22, 2026
c3478cb
fix: simplify partnership announcement format
abdallahsaleed2001-afk Aug 22, 2026
3b4dbd4
fix: restore partnership announcement title
abdallahsaleed2001-afk Aug 22, 2026
3eb97b0
fix: enforce strike-only escalation and whitelist bypass
abdallahsaleed2001-afk Aug 22, 2026
5d5cd8d
fix: restore whitelist and strike controls
abdallahsaleed2001-afk Aug 22, 2026
6a90461
fix: register security whitelist and strike fixes
abdallahsaleed2001-afk Aug 22, 2026
856e069
fix: register security whitelist modal fixes
abdallahsaleed2001-afk Aug 22, 2026
48b6509
fix: remove warning punishment option
abdallahsaleed2001-afk Aug 22, 2026
9ac54e0
fix: support legacy strike management buttons
abdallahsaleed2001-afk Aug 22, 2026
05db4bc
fix: enforce security whitelist before all automod actions
abdallahsaleed2001-afk Aug 22, 2026
fe754c7
fix: clean security strikes and restore dashboard handlers
abdallahsaleed2001-afk Aug 22, 2026
04027dd
fix: enforce security whitelist before strikes and actions
abdallahsaleed2001-afk Aug 22, 2026
baa5fa5
fix: remove warning punishment from all security configurations
abdallahsaleed2001-afk Aug 22, 2026
4ed28e3
fix: finalize security strikes and whitelist controls
abdallahsaleed2001-afk Aug 22, 2026
df1e305
fix: load final security dashboard overrides last
abdallahsaleed2001-afk Aug 22, 2026
2bdb06b
fix: enforce whitelist before any automod action and remove warnings
abdallahsaleed2001-afk Aug 22, 2026
3508c08
fix: remove warning punishment from automod controls
abdallahsaleed2001-afk Aug 22, 2026
fe270e3
ui: simplify security strike member buttons
abdallahsaleed2001-afk Aug 22, 2026
61b1e76
fix: register security whitelist modal handlers
abdallahsaleed2001-afk Aug 22, 2026
157de5a
fix: make security panel handlers load last
abdallahsaleed2001-afk Aug 22, 2026
d7f5194
fix: add standalone security panel button aliases
abdallahsaleed2001-afk Aug 22, 2026
fd29f6a
fix: unify legacy security button ids
abdallahsaleed2001-afk Aug 22, 2026
66cdc3b
fix: support legacy security whitelist modals
abdallahsaleed2001-afk Aug 22, 2026
746ac9c
Update securityService.js
abdallahsaleed2001-afk Aug 22, 2026
02d90de
fix: remove anti-nuke dependency on getRecentCount export
abdallahsaleed2001-afk Aug 22, 2026
1cfebe5
fix(security): retire duplicate legacy button aliases
abdallahsaleed2001-afk Aug 22, 2026
67decd1
fix(security): retire duplicate dashboard fix handlers
abdallahsaleed2001-afk Aug 22, 2026
87d10ea
fix(security): retire duplicate strike compatibility handlers
abdallahsaleed2001-afk Aug 22, 2026
ce427a3
ci: add JavaScript syntax validation
abdallahsaleed2001-afk Aug 22, 2026
52d3026
Update securityFinalOverrides.js
abdallahsaleed2001-afk Aug 22, 2026
e9f6509
Fix formatting in securityFinalOverrides.js
abdallahsaleed2001-afk Aug 23, 2026
e28f1c3
Fix formatting in securityFinalOverrides.js
abdallahsaleed2001-afk Aug 23, 2026
763e654
feat: add staff management system
abdallahsaleed2001-afk Aug 23, 2026
fe5bc0f
feat(staff): add staff leaderboard service
abdallahsaleed2001-afk Aug 23, 2026
d201f1b
feat(staff): track staff message activity
abdallahsaleed2001-afk Aug 23, 2026
ce088f2
feat(staff): include message activity in staff score
abdallahsaleed2001-afk Aug 23, 2026
bf1f767
Add ticket log integration to staff tracking
abdallahsaleed2001-afk Aug 23, 2026
a760757
Read ticket bot closed logs for staff ticket counts
abdallahsaleed2001-afk Aug 23, 2026
babb7cd
Add optional staff profile reset to promote/demote
abdallahsaleed2001-afk Aug 23, 2026
0e34f71
Add reset_profile option to staff promote and demote
abdallahsaleed2001-afk Aug 23, 2026
ea9f8a1
Show staff message count in profile
abdallahsaleed2001-afk Aug 23, 2026
8e47f05
Track staff messages for staff profiles
abdallahsaleed2001-afk Aug 23, 2026
fd0c484
feat: add role add/remove commands
abdallahsaleed2001-afk Aug 23, 2026
93060b0
feat: add exact-match auto reply command
abdallahsaleed2001-afk Aug 23, 2026
f5e49c1
feat: add auto reply guild config defaults
abdallahsaleed2001-afk Aug 23, 2026
e445826
feat: implement exact-match auto replies
abdallahsaleed2001-afk Aug 23, 2026
dd0295d
Add auto reaction command
abdallahsaleed2001-afk Aug 23, 2026
02d4e14
Add auto reaction guild config defaults
abdallahsaleed2001-afk Aug 23, 2026
6d59d1b
Add auto reaction message handler
abdallahsaleed2001-afk Aug 23, 2026
75051d1
Add auto reaction config defaults
abdallahsaleed2001-afk Aug 23, 2026
a1b06bb
Remove birthday system
abdallahsaleed2001-afk Aug 23, 2026
e86a7df
Remove birthday system
abdallahsaleed2001-afk Aug 23, 2026
a88c520
Remove birthday system
abdallahsaleed2001-afk Aug 23, 2026
7ecaa23
Remove birthday system
abdallahsaleed2001-afk Aug 23, 2026
cdca4e5
Remove birthday system
abdallahsaleed2001-afk Aug 23, 2026
020d5f7
Remove birthday system
abdallahsaleed2001-afk Aug 23, 2026
8f072a2
Remove birthday system
abdallahsaleed2001-afk Aug 23, 2026
ac35b95
Delete src/services/birthdayService.js
abdallahsaleed2001-afk Aug 23, 2026
8f4c075
Update app.js
abdallahsaleed2001-afk Aug 23, 2026
776b90b
Add persistent staff shift service
abdallahsaleed2001-afk Aug 23, 2026
3b56444
Add staff shift commands
abdallahsaleed2001-afk Aug 23, 2026
0e52858
Include shift hours in staff performance
abdallahsaleed2001-afk Aug 23, 2026
da8e0a8
Record completed shift stats in staff performance
abdallahsaleed2001-afk Aug 23, 2026
e12487c
Add staff performance leaderboard and shift stats to profile
abdallahsaleed2001-afk Aug 23, 2026
ab07396
Add clan persistence service
abdallahsaleed2001-afk Aug 23, 2026
6824558
Add clan management slash command
abdallahsaleed2001-afk Aug 23, 2026
3674237
Fix clan command admin list and member role assignment
abdallahsaleed2001-afk Aug 23, 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
13 changes: 6 additions & 7 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@ WEB_HOST=0.0.0.0
PORT_RETRY_ATTEMPTS=5
CORS_ORIGIN=*

# Security Dashboard
# Generate a long random value and set it in Railway/environment variables.
SECURITY_DASHBOARD_TOKEN=replace_with_a_long_random_secret
# Optional: restrict dashboard access to one guild. Defaults to GUILD_ID when present.
SECURITY_DASHBOARD_GUILD_ID=

# 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"
# are usually internet scanners — not your bot.
POSTGRES_URL=postgresql://postgres:yourpassword@localhost:5432/titanbot
POSTGRES_SSL=
POSTGRES_HOST=localhost
Expand Down Expand Up @@ -52,12 +55,8 @@ BACKUP_RETENTION_DAYS=14
POSTGRES_RESTORE_URL=

# Music (Lavalink + Riffy) — requires Lavalink v4 nodes
# Default: loads public v4 SSL nodes from lavalink/nodes.json
# Source: https://lavalink.darrennathanael.com/SSL/Lavalink-SSL/
# LAVALINK_NODES_FILE=lavalink/nodes.json
# Optional: override nodes as JSON array (takes priority over nodes file)
# LAVALINK_NODES=[{"host":"lavalink","port":2333,"password":"youshallnotpass","secure":false,"name":"Main"}]
# Self-hosted single node fallback (used only if nodes file/env array are absent):
# LAVALINK_HOST=localhost
# LAVALINK_PORT=2333
# LAVALINK_PASSWORD=youshallnotpass
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/javascript-syntax.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: JavaScript Syntax Check

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
syntax:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Check JavaScript syntax
shell: bash
run: |
set -euo pipefail
find src scripts -type f -name '*.js' -print0 | while IFS= read -r -d '' file; do
node --check "$file"
done
27 changes: 3 additions & 24 deletions lavalink/nodes.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,9 @@
[
{
"host": "lavalinkv4.serenetia.com",
"host": "lavalink.lavalink.is",
"port": 443,
"password": "https://seretia.link/discord",
"password": "password",
"secure": true,
"name": "Serenetia"
},
{
"host": "lavalink.jirayu.net",
"port": 443,
"password": "youshallnotpass",
"secure": true,
"name": "Jirayu"
},
{
"host": "lava-v4.millohost.my.id",
"port": 443,
"password": "https://discord.gg/mjS5J2K3ep",
"secure": true,
"name": "MilloHost"
},
{
"host": "lavalink-v4.triniumhost.com",
"port": 443,
"password": "free",
"secure": true,
"name": "TriniumHost"
"name": "Public-Node"
}
]
4 changes: 1 addition & 3 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { initializeDatabase } from './utils/database.js';
import { getGuildConfig } from './services/config/guildConfig.js';
import { getServerCounters, saveServerCounters, updateCounter } from './services/serverstatsService.js';
import { logger, startupLog, shutdownLog } from './utils/logger.js';
import { checkBirthdays } from './services/birthdayService.js';
import { checkGiveaways } from './services/giveawayService.js';
import { loadCommands, registerCommands as registerSlashCommands } from './handlers/loaders/commandLoader.js';
import { runSafeTask, handleTaskError, ErrorCodes } from './utils/errorHandler.js';
Expand Down Expand Up @@ -248,7 +247,6 @@ class TitanBot extends Client {
}

setupCronJobs() {
cron.schedule('0 6 * * *', runSafeTask('birthday_check', () => checkBirthdays(this)));
cron.schedule('* * * * *', runSafeTask('giveaway_check', () => checkGiveaways(this)));
cron.schedule('*/15 * * * *', runSafeTask('counter_update', () => this.updateAllCounters()));
}
Expand Down Expand Up @@ -428,4 +426,4 @@ try {
process.exit(1);
}

export default TitanBot;
export default TitanBot;
97 changes: 0 additions & 97 deletions src/commands/Birthday/birthday.js

This file was deleted.

44 changes: 0 additions & 44 deletions src/commands/Birthday/modules/birthday_info.js

This file was deleted.

76 changes: 0 additions & 76 deletions src/commands/Birthday/modules/birthday_list.js

This file was deleted.

33 changes: 0 additions & 33 deletions src/commands/Birthday/modules/birthday_remove.js

This file was deleted.

25 changes: 0 additions & 25 deletions src/commands/Birthday/modules/birthday_set.js

This file was deleted.

Loading