You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bot uses DM's to convey information and sometimes I've noticed that users in my server have elevated privacy settings. With this, the bot can't DM them regarding the time in their timezone. It was really hard to figure out what happened and I thought it would be better to add an error handler if the bot can't open a DM with the target user. I wish I could have contributed more in this issue but since I am not that experienced in discord.js, I wouldn't know how to patch the situation.
The text was updated successfully, but these errors were encountered:
Previously when users had disabled DMs, Friend Time would notify them in the server they are in. I ended up removing this notification since it was getting sent too often and seemed to annoy users.
I agree, there needs to be some system to notify users they can't be DM's, while at the same time not annoying the user with messages. I'd like to solve this in a future update.
KevinNovak
changed the title
Handling DM Failures
Handle direct message failures if user has blocked bot or enabled privacy settings for the server
Dec 19, 2020
The bot uses DM's to convey information and sometimes I've noticed that users in my server have elevated privacy settings. With this, the bot can't DM them regarding the time in their timezone. It was really hard to figure out what happened and I thought it would be better to add an error handler if the bot can't open a DM with the target user. I wish I could have contributed more in this issue but since I am not that experienced in discord.js, I wouldn't know how to patch the situation.
The text was updated successfully, but these errors were encountered: