Skip to content

Use on_member_update for verification DMs #1330

@jb3

Description

@jb3

We want to DM users some information once they pass the native Discord verification gate. To do this we need to watch for the pending attribute of the user change from True to False.

As of now we have implemented this by keeping track of a list of users who need to receive a welcome DM in a set called pending_members in the Verification cog but we should switch this to use on_member_update(before, after) as soon as discord.py makes this available.

Once a user passes the native gate we want to send them the ALTERNATE_VERIFIED_MESSAGE defined in this cog.

As of now Discord.py do not have an upstream issue for this, but we should keep track of it to watch for when one is opened.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: backendRelated to internal functionality and utilities (error_handler, logging, security, utils and core)l: 0 - beginnerp: 2 - normalNormal Prioritys: stalledSomething is blocking further progresst: 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