Track who joined through what invite.

コメント

36件のコメント

  • Selim

    Sadly the implementation on the bot side is messy as well and can get confused (in theory as the bot grows) as it needs to watch which invite usage counter has increased and if many users join at once, that can get messy.  The Discord API doesn't give join information directly when a user joins, which is unfortunate and would make for a great addition to the API.

     

    14
  • Vasp

    This would be awesome, but something like this is already possible to be created with a bot using discords current API https://discordpy.readthedocs.io/en/latest/api.html#invite

    When a user joins the server you can scan through the uses of each invite searching for the most recent changed and trace it back to the user that created said invite.

    9
  • Sea.

    It will be a very nice feature!

    6
  • ca

    Hey Nelly,

    If we're not going to see this as a feature on the Discord client, why not build it into the API so that we can track these types of things accurately?

    Take a look at this suggestion. If an Invite Code is returned in the GuildMemberAdd event, it puts an end to the choppy motion of our currently available Invite Tracker bots. Enabling a ~100% accurate overview of the following:

    • Who's responsible for the raids*
    • Who is participating in the raids*
    • The number of participants
    • The invite associated with the raid

    This sounds like the best solution to me. What do you think?

    *Any invite code can be used, it doesn't have tho be the raiders' invite. Also, non-raiding users can join through the same Invite Code -- but this really isn't too relevant to my comment.

    Cheers,

    Charm

    6
  • Noah.DW

    Lmao ive been trying to get this to happen for so long like, i wanna be able to see who made the invite and who used it when

     

    5
  • megannnjay
    There are bots like Invite Manager which will allow you this functionality
    5
  • Exode Pendragon

    The thing a lot of you aren't entirely realizing is that we aren't looking for a bot solution in these suggestions; they're appreciated and probably already known about, but bots are a temp fix of extended functionality that can very well be unreliable in uptime, and that can be very devastating to some servers, targetted or not. 

    At this time of writing, I stumbled upon this thread because Invite Manager is suffering a big outage, and has had some outages in the past few weeks - as has other bots, due to Discord's change in bot limits - which can't be helped.

    5
  • cspotcode

    I would like the API to include a "joined_via" field on each member of a server, which has the ID of the invite they used to join the server.  The API already tells us the date and time when a member joined a guild, but it does not tell us the invitation that was used.

    Alternatively, the "invite" resource can be extended to expose a list of the members that used it to join.  It already includes the number of times it has been used and the member that created it, but not the members that used it.

    Suggesting that bots can reliably implement this feature is incorrect.  For example, if 2 users join at the same time via 2 different invites, a bot is unable to associate the users to the invites.

    5
  • megannnjay
    I hope eventually that's something we don't need a bot to see, but in the meantime there are bots like Invite Manager which can log who users were invited by and stuff like that
    3
  • MagicSword89

    Discord staff, can this be implemented yet? I haven't come across one small server owner/admin/mod who doesn't want to know this

    3
  • null_Zer0

    While this is already technically possible by tracking invite usage count (which doesn't work if 2+ people join at the same time), it would be 1000x better if a join event reported the invite used.

    3
  • MagentaRV

    Personally, I'd like a reliable way to do this as well.  Not to track who invited whom or raids, but instead to be able to have my bot assign roles and welcome users in their native language based on which server invite they used.  For example, I have multiple language channels in some of my larger servers and it'd be great to be able to say `Bonjour et bienvenue dans le {GuildName}!` and assign the @Français role on join with the invite for the #fr channel.

    3
  • 4am

    Yeah this is something that should 100% be part of a moderator's toolkit. Users invite burner accounts to brigade and spew hate speech, and then abandon their burners and it's hard to be certain if the invite was created for that purpose or not.

    Sure they can just use a public invite for open servers but we're not talking about MENSA members here.

    Also not everyone wants to rely on a third party (or even self-hosting). Who's to say that data is reliable? Who's to say the bot will not be offline and miss something? If discord is serious about user safety this should be a core feature.

    (EDIT: I should add that I also agree with this being supported through the API as well, for anyone who wants to use a bot for their management.)

    3
  • Frosty
    Not a bad idea. It might prevent new users to raid server.
    2
  • RoboCoonie

    I don't care about which user did what. I want to know which particular invite code was used by a user when they joined. I have several out for specific purposes and sharing since only my mods can create links. And I want to be able to add roles accordingly if someone came in from XXXXXX code that I posted only on my FB, or if they come in from YYYYYY they're my friends and get that role accordingly. InviteManager doesn't seem to help me in this aspect.

    2
  • Emax

    Any update on this?

    2
  • xerof

    Why this still hasn't been implemented given the reasons why 3rd party applications don't always do a good job blows my mind. I find it very difficult when something happens and I need to track down which user invited others, even with bots that sometimes miss data.

    2
  • osumariokartman

    it'd be really swell if this were something we could have as server moderators.  I'm assuming that discord knows what link was clicked when the user joined the server, so it'd be great if that info was just in the audit logs instead of having to deal with semi-reliable 3rd-party bots.

    2
  • xRokz

    yeb

     

    1
  • cannot we add to audit logs?

    1
  • Yourself

    Here's a bot that might help.

    https://top.gg/bot/409875566800404480 

    1
  • Ross-Esmond

    Anyone who wants this to at least be added to the bot API should go vote in the API post: https://support.discord.com/hc/en-us/community/posts/360058433271-Add-invite-data-to-user-joined-event.

    It's not currently in the API. The bots only work by waiting for a member to join and checking which invite's counter goes up. It fails sometimes, and could be better. Go check it out.

    1
  • megannnjay
    I believe this is available in the API as bots like Invite Manager exist
    0
  • BulzyKrown

    Yeah!

    0
  • rav_kr

    Why it's still not implemented after two years 🤦‍♂️

    0
  • BigD

    Yeah, would be super helpful! or at least give the Invite a new Attribute like "Last usage" and its Value is a Datetime object

    Then we could compare when the member joined and which the latest usage was. Or the Member_join event should get also inherite the Code of the Invite

    0
  • TreeBranch

    Please Mr. Discord! 

    0
  • dimden

    i need this

    0
  • Trallka

    I need this!!!!11

    0
  • DestroyerOfWorlds

    Frankly I am shocked this doesn't exist already. It seems like a basic feature that would have been implemented into server management for the audit trail. I find myself now in a situation where this information was needed, bots are not a solution, so my hands are tied. This should totally be implemented.

    0

サインインしてコメントを残してください。