Choco
df05a5b1bd
Handle None prefix in get_prefix function
...
Ensures that get_prefix returns an empty string if the prefix is None, preventing potential issues with command parsing when no prefix is set in the settings.
2025-10-04 22:48:14 +08:00
Choco
8c68686497
Fix bot command not working in music request channel
2025-10-03 14:57:11 +08:00
Choco
20df3703c3
Refactor localization keys
2025-10-02 00:10:25 +08:00
Choco
aee2ec5f3b
fixed some bugs and remove presences intents
2025-10-02 00:05:26 +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
b0bf23ae2a
Simplify bot prefix retrieval logic
...
Removed special handling for bot owner and access users in get_prefix. The function now always returns the configured prefix or the default.
2025-09-26 13:26:02 +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
24cd6caefa
Fix bot mention prefix response logic
2025-08-23 22:36:26 +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
Choco
3a3675eb59
Reconnect the player after restarted
2025-03-07 17:20:57 +08:00
Choco
283806576b
Fixed a syntax error for python 3.11
2025-02-03 10:03:42 +08:00
Choco
3c0515adbf
Added mit license
2025-01-28 12:12:40 +08:00
Choco
1910c7e0b6
Fixed bugs
2025-01-24 10:26:01 +08:00
Choco
87ace628df
Fixed typo
2025-01-23 20:50:16 +08:00
Choco
eea026a112
Added support for audio attachment in request channel
2024-12-10 10:57:11 +08:00
Choco
f14f623fe1
Update main.py
2024-12-10 10:16:57 +08:00
Choco
11fcbfa222
Added warning logs if missing translation
2024-12-10 09:59:46 +08:00
Choco
94c5fd4c27
Added request song channel feature
2024-12-05 13:33:29 +08:00
Choco
59e021d375
Fixed bugs
2024-11-06 22:44:00 +08:00
Choco
47fe8a9af4
Allowed bot access user use command without prefix
2024-10-29 22:13:45 +08:00
Choco
2ddf4ad55c
Allowed owner to use the bot without a prefix
2024-10-27 21:47:43 +08:00
Choco
ed823bbdcd
Supported unprefixed responses
2024-10-27 21:37:07 +08:00
Choco
ae1ff38761
Fixed IPC client creation issue
2024-06-30 18:09:53 +08:00
Choco
2124ee075c
Fixed some bugs
2024-06-14 21:56:50 +08:00
Choco
f3f7ff75af
Added secure protocol in ipc client
2024-06-04 23:15:03 +08:00
Choco
f1123b33ce
Rewritten ipc_client
2024-05-14 20:41:43 +08:00
Choco
779ea8b4a2
Merged .env into settings.json
2024-05-14 20:39:11 +08:00
Choco
2e5ad3aef4
Added autocomplete in playtop
2024-04-12 15:08:31 +08:00
Choco
fd869d6209
Renamed a valuable
2024-03-22 11:30:01 +08:00
Choco
0a737b29e3
Updated logging system
2024-03-22 10:11:21 +08:00
Choco
9e6149dc97
Updated logging system
2024-03-22 09:58:56 +08:00
Choco
f713276c6f
Added logs folder
2024-03-20 22:05:00 +08:00
Choco
6517ae0611
Update main.py
2024-03-20 11:37:41 +08:00
Choco
b949cfbeec
Added 24/7 required intent
2024-03-20 11:15:43 +08:00
Choco
e68788f429
Updated logging system
2024-03-18 20:45:31 +08:00
Choco
4655b6e54c
Added logging system
2024-03-18 17:33:47 +08:00
Choco
ed2373260c
Added error handler
2024-02-27 12:37:58 +08:00
Choco
c049f4cbf6
Update main.py
2024-02-20 11:53:20 +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
9f7b849800
Auto create database and collection in mongodb
2024-02-15 22:09:24 +08:00
Choco
9dc6b99338
Optimized code
2024-02-11 19:47:29 +08:00
Choco
f4f84cea67
Switched from pymongo to motor for asynchronous MongoDB operations
2024-02-09 21:02:07 +08:00
Choco
727f37c51e
Fixed some bugs
2023-12-14 10:51:29 +08:00
Choco
d88b5253dc
Implemented an embed to guide users about missing arguments
2023-10-25 15:13:18 +08:00
Choco
b7456f5312
General clean code
2023-08-26 09:48:36 +08:00
Choco
57ac2bc6a8
General clean code
2023-08-02 21:40:00 +08:00
Choco
3dbf88b05a
Update main.py
2023-07-31 21:00:06 +08:00