Deleted Users in API's response #3274
Replies: 17 comments 3 replies
-
IIRC Discord will email bot developers when a user is deleted. Additionally, a gateway event for when a user the bot can see is deleted (probably under the MEMBERS intent) would allow for automated data deletion. |
Beta Was this translation helpful? Give feedback.
-
@Lachee where did you get that info about discord emailing bot devs? that makes no sense |
Beta Was this translation helpful? Give feedback.
-
@Suspense4615 This was mentioned during the API ToS Q&A in the Discord API server back in mid-2017. See this summary gist that mentions the email thing at the very beginning. |
Beta Was this translation helpful? Give feedback.
-
As far as I'm aware, that exclusively applies to user-requested account deletes, and not account deletes by other means or reasons- guessing based off the number of deleted users I've seen on guilds my bots are in and the complete lack of any such emails. |
Beta Was this translation helpful? Give feedback.
-
@Lachee no, that's not what i meant, a way of knowing if other users have a deleted account, not ourself... simple as that ¯\_(ツ)_/¯ |
Beta Was this translation helpful? Give feedback.
-
Yes, that is what I am talking about; other users. |
Beta Was this translation helpful? Give feedback.
-
@Lachee well, no? why would Discord sends you an e-mail every times a users get deleted? Having this info in the api's responce is more efficient... |
Beta Was this translation helpful? Give feedback.
-
thats why I am suggesting it???????
Maybe instead of being immediately on the defensive, you should read what I actually have to say. I am agreeing with you my dude(tte). And yes, I was implying that discord was sending emails for every deleted account (or at least planning too). Although what Vex said was true, that was just for the User Requested deletes it seems.
|
Beta Was this translation helpful? Give feedback.
-
@Lachee ah, i see... that's wierd from Discord tho |
Beta Was this translation helpful? Give feedback.
-
I'm guessing the bottom one(Deleted e8a0), it was probably created and then deleted |
Beta Was this translation helpful? Give feedback.
-
Not having this in the API makes it impossible to know if a user has actually deleted their account or is just faking account deletion. Just listening on GUILD_MEMBER_UPDATE/PRESENCE_UPDATE for username/avatar changes with a regex has led to false positives before where a user fakes deletion to try to evade certain security measures used by bots or server managers. |
Beta Was this translation helpful? Give feedback.
-
Alternatively, could a flag in |
Beta Was this translation helpful? Give feedback.
-
no, the flags are the badges |
Beta Was this translation helpful? Give feedback.
-
Some of the flags aren't actually badges, e.g., team user and system, and I don't think the intention for flags was that they are exclusively only for badges. |
Beta Was this translation helpful? Give feedback.
-
i don't know about the team, but the system i think is used to tell you that the message is an official message from discord |
Beta Was this translation helpful? Give feedback.
-
I am wondering why there are no answers to this issue. |
Beta Was this translation helpful? Give feedback.
-
I really need this to remove deleted users data from my database, we need a way to delete data from deleted users. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hello, then doing a request to GET
/users/{user.id}
, we can't tell if a user is deleted or the username is'Deleted User XXXXX", so i would like a way to know if an account is deleted (kinda like bots) with a value of
deleted:true
then an account is deleted.Why This is Needed
As you may know, there's a law called GDRP, and i support this law, so i would like a way (as projects owner) to delete data from deleted users.
Alternatives Considered
There's none really, this is the most logic way of doing that.
Additional Details
In this attachments, there's one deleted user and one user renamed. Now guess which one is deleted... 👀


Beta Was this translation helpful? Give feedback.
All reactions