Skip to content

Check metricity for message knowledge when logging an out of cache message deletion #1359

@bast0006

Description

@bast0006

At the current moment when a user deletes a message that the bot has not cached, it outputs a simple message embed including the channel and message ID, which is effectively all the discord API gives us in a message deletion context. However, now that we have Metricity running we are able to cross-check deleted messages with it.

While it's unnecessary to check it for every message, we could use this to get the original author of messages that we aren't provided one, and from that solve the frustrating issue where a user will selfbot-delete their message history and flood the channel with archived messages that aren't attributed to a user anymore.

This may require exposing an endpoint to "get message author" from the Metricity database.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: APIRelated to or causes API changesa: filtersRelated to message filters: (antimalware, antispam, filtering, token_remover)a: frontendRelated to output and formattinga: moderationRelated to community moderation functionality: (moderation, defcon, verification)a: statsRelated to the collection of statisticsl: 1 - intermediatestatus: approvedThe issue has received a core developer's approvalt: featureNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions