Troubleshooting
The Plugin Disables Itself Or Voice Features Fail
Athena should install plugin dependencies automatically. If voice features fail or the console reports missing voice packages, stop the bot and run:
npm install @discordjs/voice opusscript ffmpeg-staticThen restart AthenaBot.
No Case Appears When A User Joins The Waiting Room
Check:
enabledis true./voicesupport statussays support is open.waitingRoomChannelIdis the real voice channel ID.caseChannelIdis a real text channel ID.- The bot can view the waiting room and send messages in the case channel.
- The joining account is not a bot account.
Staff Cannot Take Over A Case
Check:
- The staff member has one of the roles in
staffRoles. - The bot can Move Members.
- The waiting user is still in the waiting room.
- If using
move_to_supporter, the staff member is already in a voice channel. - If using
create_temp_channel,supportCategoryIdis valid and the bot can Manage Channels.
Temporary Channels Do Not Delete Or Cases Do Not Auto-Close
Check:
autoCloseTimeoutis greater than0.- The temporary channel was created by the plugin.
- The channel is actually empty.
- The bot still has Manage Channels.
Support Open Or Closed State Looks Wrong After Restart
Voice Support stores open/closed state in MongoDB. Use:
/voicesupport status
/voicesupport open
/voicesupport closeto confirm and correct the current state.
Waiting Room Music Does Not Play
Check:
waitingRoomMusic.enabledorclosedMusic.enabledis true.- The file path points to a real audio file.
- The bot can Connect and Speak in the waiting room.
- The voice dependencies installed correctly.
volumeis above0.
Case Logs Are Missing
Check:
logChannelIdis a valid text channel.- The bot can send messages and embeds in the log channel.
- The case reached a closed, cancelled, timed-out, or completed state.
Multiple Users Are Not Being Moved Together
Check:
combinedCases.enabledis true.- Users are in the waiting room before staff take over, or
combinedCases.autoAddLatecomersis true for late joiners. - The selected voice handling mode supports moving all users into the target channel.