whos there
DIAdiscord.js - Imagine a bot
•Created by whos there on 9/12/2023 in #djs-questions
Don't DM a user with disabled DMs?
I was just hoping the API had a method of seeing if a user had DMs enabled or not so as to avoid attempting to send a DM that would result in an error.
Now I suppose the method I need to use is to maybe catch the error and if an error has been received when DMing a user .. maybe just don't DM that user for some period of time (Incase they enable DMs again)
6 replies
DIAdiscord.js - Imagine a bot
•Created by whos there on 3/1/2023 in #djs-questions
I am attempting to allow a user to update the topic of a channel to include a unix timestamp
I'm in Hawaii. The bot is hosted in a docker container on a server in Germany. ... I had not considered the Dockers timezone setting because I thought unixtimestamp and formatted for discord syntax would ignore the origin time zone
4 replies