mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
fix/bot-startup-resilience
The cog did its own netrc read from a hardcoded /home/pi/.netrc at import time, crashing on any other host. Now: - constants.py: ASSEMBLYAI_API_KEY resolved like every other token (env ASSEMBLYAI_API_KEY -> netrc machine 'assemblyai' at CONJURER_NETRC_FILE); new TRANSCRIPTS_PATH (env CONJURER_TRANSCRIPTS_PATH, defaults next to the log file, created by the runtime layout) - voice_recognition_commands.py: drop the hardcoded netrc read and transcript dir; when the key is missing raise a clear RuntimeError so the guarded loader disables ONLY this cog with a readable reason - bot.env.example: document ASSEMBLYAI_API_KEY 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%