43 Commits

Author SHA1 Message Date
Choco
ce6ef5d11e Defer interaction responses in commands
Call await ctx.defer() for discord.Interaction in play, search and playtop to avoid interaction timeouts during long operations. Also move the MongoDB get_user playlist fetch in check_playlist to after the defer so DB work doesn't occur before the interaction is deferred. (cogs/basic.py, cogs/playlist.py)
2026-04-05 23:55:50 +08:00
Choco
dfa0616271 Fix playlist creation message key
Corrects the localization key from 'playlist.actions.create' to 'playlist.actions.created' when sending a message after playlist creation.
2026-01-06 10:56:11 +08:00
Choco
8fdceef4db Add user selection modal for playlist sharing
Introduces a modal dialog to select a user when sharing a playlist, improving the user experience. Updates the PlaylistView to use the new BaseModal for sharing, and enhances BaseModal to support select components and store their values.
2025-11-29 11:20:21 +08:00
Choco
d5186319a0 Add playlist permission management commands
Introduces a new 'permission' command to grant or revoke read, write, or remove permissions for playlists. Refactors playlist access checks to support granular permissions and shared playlist operations, and updates localized messages for permission actions.
2025-11-20 23:34:51 +08:00
Choco
20df3703c3 Refactor localization keys 2025-10-02 00:10:25 +08:00
Choco
ef54f96f51 Migrate scripts to voicelink, rewrite handlers and views 2025-09-29 19:39:19 +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
0ab2438abe Fixed typo 2025-03-07 14:24:52 +08:00
Choco
94c5fd4c27 Added request song channel feature 2024-12-05 13:33:29 +08:00
Choco
f58deb2f8b Fixed some bugs 2024-09-07 13:08:28 +08:00
Choco
7ef2700730 Optimized some code 2024-06-26 07:42:37 +08:00
Choco
2124ee075c Fixed some bugs 2024-06-14 21:56:50 +08:00
Choco
5b64389313 Fixed some bugs 2024-06-04 23:16:49 +08:00
Choco
efb5bf7b77 Fixed some bugs 2024-02-20 20:08:49 +08:00
Choco
d237c2f0ec Optimized code 2024-02-20 11:37:01 +08:00
Choco
464f9123e5 Optimized code 2024-02-17 13:04:20 +08:00
Choco
c72080dd52 Fixed a bug 2024-02-11 21:49:50 +08:00
Choco
cc4ccd968f Improving the Playlist Function Implementation 2024-02-11 19:56:38 +08:00
Choco
95ec0970eb Removed create view 2024-02-11 19:52:14 +08:00
Choco
ad6743e9c6 Fixed some bugs 2023-09-17 14:13:56 +08:00
Choco
e7f4118470 General clean code 2023-09-11 13:20:07 +08:00
Choco
40e1d343ea Updated Mit License 2023-09-08 13:47:38 +08:00
Choco
4f13023a04 remove async on check_roles method 2023-09-06 09:35:43 +08:00
Choco
b7456f5312 General clean code 2023-08-26 09:48:36 +08:00
Choco
339b2b940f Fixed error message in command 2023-07-16 15:38:42 +08:00
Choco
ddb1f10841 Added playlist export and import commands 2023-07-16 15:38:26 +08:00
Choco
e1c8f4f6c7 Fixed inbox view 2023-06-24 17:48:36 +08:00
Choco
0fb331d3f4 Fixed some bugs 2023-05-27 21:04:04 +08:00
Choco
a44b6c9384 Transfer track info to track id 2023-05-16 19:03:48 +08:00
Choco
f1c23961bc General clean code 2023-04-19 18:38:11 +08:00
Choco
8f3785a17c Fix some bugs 2023-04-12 17:17:29 +08:00
Choco
19d3302806 fix some code 2023-04-10 23:43:54 +08:00
Choco
9570c0e9d3 General Clean Code 2023-04-05 22:48:12 +08:00
Choco
fc69c6dffe Fix autocompletion in all slash commands 2023-04-01 12:26:51 +08:00
Choco
74846c583f Cleaned up some code 2023-03-19 16:46:55 +08:00
Choco
b63301fa24 Move connect_channel into function 2023-03-08 12:07:32 +08:00
Choco
4ddaba584b Applying all the necessary commands to use the new add_track method 2023-03-08 10:34:50 +08:00
Choco
d4a4e031f7 Fix error in playlist cog 2023-02-24 12:11:58 +08:00
Choco
5e56b1179f Rename folder 2023-02-21 21:12:15 +08:00
Choco
78cf29b8ff Remove necessary async functions 2023-02-20 21:17:52 +08:00
Choco
d262fdf7a4 Add alias and help to group command 2023-02-19 15:21:31 +08:00
Choco
9e5997e4ec Support message command 2023-02-18 18:57:12 +08:00
Choco
0d1ddb399b Ready for public use 2023-02-02 21:06:51 +08:00