Deleted Users in API's response #3274
Replies: 19 comments 4 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. |
|
@Lachee where did you get that info about discord emailing bot devs? that makes no sense |
|
@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. |
|
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. |
|
@Lachee no, that's not what i meant, a way of knowing if other users have a deleted account, not ourself... simple as that ¯\_(ツ)_/¯ |
Yes, that is what I am talking about; other users. |
|
@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... |
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.
|
|
@Lachee ah, i see... that's wierd from Discord tho |
|
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. |
|
Alternatively, could a flag in |
no, the flags are the badges |
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. |
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 |
|
I am wondering why there are no answers to this issue. |
|
I really need this to remove deleted users data from my database, we need a way to delete data from deleted users. |
|
Feels olds but i feel confusing the API not have a way rather than "i supose all the username start with deleted_user_ are deleted users" |
|
Discord, stop ignoring this. |
|
Idk if this trolling or not but, deleted users don't really have mutual friends or servers at all. |
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:truethen 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... 👀


All reactions