Commit Graph

155 Commits

Author SHA1 Message Date
Choco
7479f9bfe2 Show track length in autocomplete choices
Track autocomplete choices now display the formatted track length for both current tracks and history, improving user clarity when selecting tracks.
2025-10-08 12:19:40 +08:00
Choco
81a8603e1d Added default language in language handler 2025-10-02 12:28:50 +08:00
Choco
20df3703c3 Refactor localization keys 2025-10-02 00:10:25 +08:00
Choco
3831c87f9b Add default_search_platform option for customizable search platform 2025-09-29 21:15:23 +08:00
Choco
f6722e538a Moved ipc_client into voicelink 2025-09-29 19:54:51 +08:00
Choco
ef54f96f51 Migrate scripts to voicelink, rewrite handlers and views 2025-09-29 19:39:19 +08:00
Choco
7a4f85a74d Merge branch 'beta' into refactor-views 2025-09-26 13:29:27 +08:00
Choco
2c98dfd763 Update command docstrings and localization keys
Improved docstrings for 'play' and 'search' commands in basic.py for clarity. Updated localization keys and translations in es-419.json, es-ES.json, and zh-CN.json to fix punctuation, naming consistency, and minor translation errors.
2025-09-24 17:58:15 +08: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
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
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
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
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
7c5caa8d6d Updated the search platform from spotify to youtube 2025-07-03 16:10:41 +08:00
Choco
3699590c0e Fixed some bugs 2025-04-05 22:06:10 +08:00
Choco
7c14bb56a7 Rewrite play_autocomplete function 2025-03-25 15:20:43 +08:00
Choco
5498c60466 Replaced internal spotify with lavalink 2025-03-22 18:42:28 +08:00
Choco
3a1440c875 Update listeners.py 2025-03-16 11:07:12 +08:00
Choco
ba4f1d349f Prevent rejoin channel that without members 2025-03-10 12:59:36 +08:00
Choco
3a3675eb59 Reconnect the player after restarted 2025-03-07 17:20:57 +08:00
Choco
0ab2438abe Fixed typo 2025-03-07 14:24:52 +08:00
Choco
2c16543e0c Fixed track source 2025-03-04 12:01:37 +08:00
Choco
f5af35a6a1 Added yt ratelimiter 2025-02-21 11:26:24 +08:00
Choco
f4b3ebe2ae Updated the player checker 2025-01-21 15:33:43 +08:00
Choco
1bf3f406f0 Refactor IPC client payload
change naming style from snake_case to camelCase
2025-01-21 15:29:25 +08:00
Choco
11fcbfa222 Added warning logs if missing translation 2024-12-10 09:59:46 +08:00
Choco
7d83c02cf3 Added missing intent error message 2024-12-09 17:02:11 +08:00
Choco
3d377fd5ab Added music controller into request channel 2024-12-09 16:42:55 +08:00
Choco
94c5fd4c27 Added request song channel feature 2024-12-05 13:33:29 +08:00
Choco
9d505caf7f Updated voicelink enum 2024-11-19 11:32:02 +08:00
Choco
b26daaaeb7 Fixed the play autocomplete 2024-10-25 16:56:05 +08:00
Choco
aa4017e090 Supported clear queue endpoint in ipc 2024-09-09 11:34:45 +08:00
Choco
f58deb2f8b Fixed some bugs 2024-09-07 13:08:28 +08:00
Choco
b26d7af14b Improved codes 2024-09-04 17:16:39 +08:00
Choco
1dc753f4d4 Updated version tag 2024-08-30 17:17:52 +08:00
Choco
b0ff4fb6c3 Added voice status (#33)
* Updated the placeholder name for clarity

* Added voice status

* Dump bot version

* Added global template for voice status

* Added new placeholder

* Updated settings view
2024-08-30 15:27:37 +08:00
Choco
5722d35c11 Fixed some bugs 2024-08-30 15:25:37 +08:00
Choco
1feaa6eea2 Fixed connection problem from the dashboard 2024-08-29 12:07:30 +08:00
Choco
4f139a97ce Fixed some bugs 2024-08-12 14:51:37 +08:00
Choco
3f3ed0dd90 Fixed some bugs 2024-07-22 11:13:42 +08:00
Choco
bddb9a9677 Added filter selector in music controller 2024-07-10 17:51:15 +08:00
Choco
a81541705c Fixed some bugs 2024-07-06 15:27:53 +08:00
Choco
c7ec2b5159 Rewrote filters 2024-07-06 15:27:19 +08:00
Choco
75b7e5e827 Fixed some bugs 2024-06-27 16:55:37 +08:00
Choco
36341f0591 Fixed a bug 2024-06-27 16:41:46 +08:00
Choco
33ad427670 Added start and end position for each track 2024-06-26 15:06:18 +08:00
Choco
7ef2700730 Optimized some code 2024-06-26 07:42:37 +08:00