Darkside138/DiscordSoundboard

Leave sounds set by command not working

Closed this issue · 1 comments

I have been seeing this issue with some users since 3.0.4, but it seems like it might have gotten worse with 3.0.5.

If a user has a leave sound set in the H2 database via the ?leave command, their leave sound doesn't play. There is no output in the bot to show an error or anything - just nothing when the user leaves.

I have found through testing that the old method of files named username_leave still works, but only if the user's leave sound has been set back to null. I needed to do this for my users using H2 Console, as trying to use "?leave username" without specifying a sound gives an error.

I can provide affected usernames if you think that might help narrow it down.

Entrance sounds set by command still seem to work.

Noticed this too. I submitted a pull request that seems to fix it.