636 Commits

Author SHA1 Message Date
Choco
eac92b9d73 Update zh-CN.json 2025-09-23 10:24:24 +08:00
TomStilson
c556f0fe7b Add Chinese simplified and traditional translations 2025-09-20 12:58:48 -04:00
Choco
9f43cce969 Merge branch 'beta' into refactor-views 2025-09-19 23:30:46 +08:00
Choco
1633f14b64 Refactor playlist view and update language files
Refactored playlist viewing logic for improved modularity and maintainability, introducing PlaylistViewManager and DynamicViewManager. Updated language files to standardize playlist view titles and descriptions, and removed unnecessary emojis. Updated requirements.txt to discord.py 2.6.3. Enhanced send function to support file attachments.
2025-09-19 23:29:42 +08:00
Choco
851871e123 Update play and search command descriptions and translations
Revised the docstrings for the play and search commands in basic.py for clarity. Updated corresponding translation strings in es-419.json, es-ES.json, and zh-TW.json to match the new descriptions.
2025-09-19 21:39:51 +08:00
Choco
832da8a26d Merge branch 'beta' into refactor-views 2025-09-19 21:38:10 +08:00
Choco
260af1d447 Remove Lavalink Docker setup and config files
Deleted docker-compose.yml, lavalink/Dockerfile-lavalink, and lavalink/application.yml to remove support for running Lavalink via Docker. This change may indicate a migration away from Docker-based deployment or a refactor of the service architecture.
2025-09-18 23:05:20 +08:00
Choco
2c9aae7861 Refactor queue view and add pagination utilities
Replaced ListView with QueueView for queue/history display, introducing improved pagination and modal support via new utilities in views/utils/. Updated imports and references in cogs/basic.py and views/__init__.py. Removed views/list.py and added views/queue.py, views/utils/pagination.py, and views/utils/modal.py for modular pagination and modal handling.
2025-09-16 14:53:22 +08:00
Choco
f1fa4606ed Fix track existence check in Node.get_tracks
Corrects a variable name in the track existence check from 'track' to 'tracks', ensuring the method properly returns an empty list when no tracks are found.
2025-09-16 14:49:52 +08:00
Choco
8a6632e768 Bump version to v2.7.2 2025-08-25 17:15:28 +08:00
Choco
e1c72cc4e2 Merge pull request #77 from ChocoMeow/beta
Vocard v2.7.2 Update: A lot new features, bug fixes, and code clean-up
2025-08-25 17:08:09 +08:00
Choco
5c973a76b9 Improve message handling and permission checks
Added a 'requires_fetch' parameter to the send function to ensure messages are fetched when needed. Enhanced command interaction checks to verify bot permissions for reading and sending messages in channels. Updated player controller logic to use the new fetch behavior for controller messages.
2025-08-24 22:47:52 +08:00
Choco
0e8b3ce9e7 Improve message handling in send function
Enhances the send function to handle different Discord message response types more robustly by normalizing the returned message object. This ensures compatibility with InteractionCallbackResponse, WebhookMessage, and InteractionMessage types.
2025-08-24 21:31:03 +08:00
Choco
24cd6caefa Fix bot mention prefix response logic 2025-08-23 22:36:26 +08:00
Choco
15ed5b2edd Update Lavalink to latest version and plugin
Updated Dockerfile-lavalink to fetch the latest Lavalink.jar release instead of a fixed version. Bumped youtube-plugin dependency from 1.13.4 to 1.13.5 in application.yml. Also removed commented-out dashboard dependency from docker-compose.yml for cleanup.
2025-08-23 10:59:12 +08:00
Choco
4b01a3f892 Update docker-image.yml 2025-08-23 10:53:59 +08:00
Choco
236284b68a Merge pull request #75 from MiguVT/main
Add Spanish language support for slash commands
2025-08-20 22:19:30 +08:00
Choco
cce7ee4331 Add new keys to Spanish language files
Added 'Fairqueue' and 'togglecontroller' keys to both es-419.json and es-ES.json for improved localization support. No other changes were made to the translation content.
2025-08-20 22:17:43 +08:00
MiguVT
fa0d410d93 Improves command synchronization handling
Adds a smart command sync strategy to handle potential command conflicts during bot startup.

This implementation includes:
- Initial attempt at a normal sync.
- Conflict resolution mechanism via Discord's bulk update endpoint if "Entry Point command" errors are encountered.
- Error handling and logging for increased reliability.
2025-08-18 16:29:34 +02:00
MiguVT
8cd6b33d89 Updates translations for Spanish
Updates the Spanish translations in both es-419 and es-ES language files.

This commit improves the accuracy and consistency of the translations, focusing on command names and descriptions to provide a better user experience.
2025-08-18 15:38:03 +02:00
MiguVT
42a40d1ba3 Merge branch 'beta' into main 2025-08-12 13:30:04 +00:00
Choco
e7aa431ae2 Handle Playlist type in track search results
Added a check to handle cases where the returned tracks are a Playlist object, ensuring the correct list of tracks is used for app command choices.
2025-08-11 17:44:46 +08:00
Choco
f6c25118e1 Add Vietnamese language support
Added VN.json containing Vietnamese translations for bot messages.
2025-08-10 12:44:25 +08:00
Choco
8edc26a6d0 Standardize permission and message keys in code and locales
Updated various permission and message keys in the codebase and all language files for consistency. Also added missing keys and fixed minor typos in several language files.
2025-08-10 12:44:05 +08:00
Choco
76ccc7db35 Add dotenv support for environment-based settings
Integrated python-dotenv to load environment variables and updated Settings to use values from either the provided dictionary or environment. Added python-dotenv to requirements.txt.
2025-08-07 11:11:23 +08:00
Choco
69bea8e6fe Merge pull request #69 from Azarath7/vocard-docker
Add healthcheck for dashboard service
2025-08-07 10:55:37 +08:00
Choco
6587409148 Add Spotify Tokener service and update plugin configs
Added a new spotify-tokener service to docker-compose.yml and updated documentation links to use the latest version. In lavalink/application.yml, enabled anonymous token usage for Spotify with a custom token endpoint, and updated YouTube and LavaSrc plugin dependencies to newer versions.
2025-08-07 10:54:16 +08:00
Choco
f763844526 Merge branch 'beta' into pr/69 2025-08-07 10:20:29 +08:00
Choco
f9a6185e38 Merge branch 'beta' into pr/75 2025-08-06 10:49:10 +08:00
Choco
07b2576729 Fix send function context handling and queueType key
Updated the send function to correctly handle TempCtx and only include 'ephemeral' if supported by the send function. Also fixed the key from 'queue_type' to 'queueType' in the Player's IPC message for consistency with expected API.
2025-08-06 10:48:44 +08:00
MiguVT
39d5a42db0 Add silent messaging support to language files for Spanish and fixed zh-TW conflict 2025-08-05 17:09:40 +02:00
MiguVT
0ff3e18a7b Merge branch 'beta' into main 2025-08-05 17:02:58 +02:00
MiguVT
8fda1d2e4a Add Spanish language support for music bot commands
- Created `es-419.json` for Latin American Spanish translations.
- Created `es-ES.json` for European Spanish translations.
- Translated various music bot commands and responses to enhance user experience for Spanish-speaking users.
2025-08-05 16:59:11 +02:00
Choco
0b15f1d5f4 Merge pull request #73 from ChocoMeow/Added-silent-messaging-feature
Added silent messaging feature
2025-08-04 11:10:45 +08:00
Choco
e97a604aed Added silent mode to the controller 2025-08-04 11:07:59 +08:00
Choco
d9fb58ef92 Use snake_case for all database keys 2025-08-04 10:57:54 +08:00
Choco
c8fa4e561a Added silent messaging feature 2025-07-23 10:46:52 +08:00
Choco
e1fdbfe21a Merge pull request #71 from ChocoMeow/Added-Musixmatch-lyrics
Added musixmatch lyrics
2025-07-09 09:56:06 +08:00
Choco
955d7168c5 Added musixmatch lyrics 2025-07-07 14:39:39 +08:00
Choco
c7d19b9383 Change variable name 2025-07-03 16:11:01 +08:00
Choco
7c5caa8d6d Updated the search platform from spotify to youtube 2025-07-03 16:10:41 +08:00
Choco
c23aa5c11e Update docker-image.yml 2025-06-16 10:15:07 +08:00
Choco
c3c1f2e3e7 Update docker-image.yml 2025-06-16 10:08:49 +08:00
Azarath7
eac2b0222b Update docker-compose.yml
Refined comments, removed web service, added healthcheck for vocard-dashboard service
2025-06-15 11:00:18 +03:00
Choco
15d0ac3fc8 Dump lavalink and plugin version 2025-06-15 10:44:12 +08:00
Choco
026b262752 return empty list if track not found 2025-06-11 14:34:24 +08:00
Choco
5b84959908 Update methods.py 2025-05-28 17:55:18 +08:00
Azarath7
d47201f8f2 Removed unnecessary network from vocard-dashboard service 2025-05-27 12:19:11 +03:00
Choco
8b81c05d98 Disable yt ratelimit if there are no tokens provided 2025-05-14 09:37:33 +08:00
Choco
4009832240 Update controller.py 2025-05-13 17:28:25 +08:00