48 Commits

Author SHA1 Message Date
aki
c613ef3f35 erm what the sigma 2025-04-25 00:23:29 +08:00
aki
9fd3f4a678 erm, fix 2025-04-25 00:20:57 +08:00
aki
a324815788 refactor: Update Dockerfile and TypeScript configurations for improved build process 2025-04-25 00:10: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
c42e0931d6 test: Remove outdated test files 2025-04-24 16:09:49 +08:00
aki
228d0bef69 feat: Add YouTube OAuth Token to environment configuration and update README 2025-04-24 16:09:28 +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
75185a59c3 last ditch effort :c 2025-04-24 03:58:01 +08:00
aki
5b51e3f529 feat(youtube-plugin): Grab the latest snapshot from Maven latest releases 2025-04-24 03:57:41 +08:00
aki
99a1417c43 debug :> 2025-04-24 03:33:44 +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
5c5574c06e >,> 2025-04-24 02:55:39 +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
3ba230e6e9 chore: update Dockerfile to use Node.js 23-slim and adjust application.yml for plugin settings 2025-04-24 02:49:36 +08:00
aki
253f369a89 refactor(application.yml): streamline Lavalink configuration and enhance plugin management 2025-04-24 02:23:15 +08:00
aki
7500ea01c8 untest the testing earlier 2025-04-24 02:06:06 +08:00
aki
f31bba40fb add youtube plugin 2025-04-24 02:01:39 +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
ce635cb32b sleepy 2025-04-24 01:29:28 +08:00
aki
30b5b23868 fix(docker-compose): Update healthcheck for Lavalink service to use correct endpoint and reduce interval 2025-04-24 01:27:17 +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
bb7a796cf9 fix(docker-compose): Add healthcheck for Lavalink service and update depends_on condition 2025-04-24 01:22:09 +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
5a29fe3d9d chore(lavalink): another application.yml fix cuz i'm sleepy 2025-04-24 00:19:05 +08:00
aki
42de01e004 chore(lavalink): Add YouTube plugin in application.yml to fix deprecation error 2025-04-24 00:14:42 +08:00
aki
537a8c6709 fix(docker): Update environment variables and improve connection handling for Lavalink 2025-04-24 00:05:57 +08:00
Aki Amane
0b86b5d891 fix(docker): Fix Dockerfile errors 2025-04-23 23:55:29 +08:00
aki
d4de2feaaa chore(docker): Add application.yml for lavaplayer 2025-04-23 23:28:48 +08:00
aki
95ea55d972 chore(docker): switch to pnpm, update Dockerfile, docker-compose, and README 2025-04-23 23:27:29 +08:00
aki
170faf7d01 fix(package): format scripts section and add js-yaml to devDependencies 2025-04-23 22:09:35 +08:00
aki
f50c88515e test(scripts): add npm start script test 2025-04-23 22:09:00 +08:00
aki
57d10ddf70 test(deploy): add tests for deploy-commands script 2025-04-23 22:05:13 +08:00
aki
6daf1993d1 build(docker): add Dockerfile, Docker Compose config, and update README 2025-04-23 21:55:40 +08:00
aki
47de3823f3 test(startup): add startup test for missing DISCORD_TOKEN 2025-04-23 21:54:52 +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
322434afbd Initial commit 2025-04-20 00:18:39 +08:00