mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-21 01:02:10 +00:00
f3f07bc921f4453974288f1fb938898aef16d7bc
file_search_functions was the only bot-side service client that hardcoded the musician's LAN address and sent no auth header. Both musician endpoints it calls (/get_share_list, /get_share_links) run _authorize_request(), so the whole file-share feature 401'd on any deployment that set CONJURER_API_KEY - which the deployment guides instruct you to do - and the hardcoded IP made a musician on another host (the Proxmox/docker split) unreachable regardless. Use FILE_SERVICE_ADDRESS + service_headers() like music_functions does, add the two endpoint paths to constants alongside the existing ones, and set an explicit timeout so a wedged musician can't hang the calling cog. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
conjurer
Discord.py bot for fun, sex and BDSM
Languages
Python
99.7%
Shell
0.3%