24 Commits

Author SHA1 Message Date
aki
a2c9121012 refactor: Enhance voice channel joining logic with retry mechanism and cleanup for existing players 2025-04-25 01:22:43 +08:00
aki
1aa97a8a7a refactor: Update import statements and configurations for ES module compatibility 2025-04-25 00:41:40 +08:00
aki
72a59bbcdd refactor: Refactor interaction handling and event management
- Updated interactionCreate event to improve error handling and logging.
- Enhanced ready event to ensure client user is available before proceeding.
- Refactored voiceStateUpdate event for better clarity and error handling.
- Adjusted index.ts to improve client initialization and command/event loading.
- Improved Shoukaku event handling and initialization in ShoukakuEvents.ts.
- Enhanced logger utility for better message formatting.
- Updated TypeScript configuration for better compatibility and strictness.
- Created a new botClient type definition for improved type safety.
2025-04-24 23:42:36 +08:00
aki
3c4dc51855 refactor: Convert project from JavaScript to TypeScript
- Converted all .js files to .ts
- Added TypeScript configuration (tsconfig.json)
- Added ESLint and Prettier configuration
- Updated package.json dependencies
- Modified Docker and application configurations
2025-04-24 13:48:10 +08:00
aki
6546cb8d63 if wsl wasn't so broken, i didn't need to commit this much :)
fix(ShoukakuEvents.js): ensure playback track payload structure matches expected format
2025-04-24 03:15:04 +08:00
aki
b958e79a98 fix(ShoukakuEvents.js): correct property name for track encoding in search results
hopefully the final fix :)
2025-04-24 03:12:01 +08:00
aki
81c65a3644 chore(ShoukakuEvents.js): add logging for track encoded data during playback 2025-04-24 03:07:08 +08:00
aki
68a3f4fb58 chore: update .env.example and logger.js for improved configuration and logging level management 2025-04-24 03:03:05 +08:00
aki
9e02e50693 fix(ShoukakuEvents.js): improve error handling during track playback and logging 2025-04-24 02:50:17 +08:00
aki
9d7ff5e7e7 feat(play.js): add source option for track search and enhance search logic 2025-04-24 02:50:11 +08:00
aki
7500ea01c8 untest the testing earlier 2025-04-24 02:06:06 +08:00
aki
4d5c301c46 <,< 2025-04-24 01:59:13 +08:00
aki
8f8ff6aa81 fix(lavalink): Update Lavalink configuration and enhance healthcheck with plugin management 2025-04-24 01:50:06 +08:00
aki
ca9e531541 pause fix again hope -o- 2025-04-24 01:40:14 +08:00
aki
f1991f7716 testing 2025-04-24 01:33:42 +08:00
aki
74cac2bfbb fix(lavalink): Refactor search method to use identifier string for track resolution 2025-04-24 01:22:19 +08:00
aki
a54becb3a0 fix(lavalink): Update leave for Shoukaku integration 2025-04-24 01:21:44 +08:00
aki
0d0125bf55 fix(lavalink): Update join, play, and voice state handling for Shoukaku integration 2025-04-24 01:01:33 +08:00
aki
854cf12d64 fix(lavalink): Correct Lavalink connection URL format and update deprecated code 2025-04-24 00:52:16 +08:00
aki
e54c23cc63 feat(lavalink): Migrate from Erela.js to Shoukaku for music playback management 2025-04-24 00:25:02 +08:00
aki
537a8c6709 fix(docker): Update environment variables and improve connection handling for Lavalink 2025-04-24 00:05:57 +08:00
aki
74dfdbf667 feat(bot): add NodeJS implementation and deploy script 2025-04-23 21:40:02 +08:00
aki
5c632556b7 chore(rust): remove Rust source files and Cargo configuration 2025-04-23 21:39:06 +08:00
aki
05fec6747d Initial project setup with basic structure, including environment configuration, command handling, and Lavalink integration. 2025-04-20 09:02:34 +08:00