#(hearty6969) New <context.invite>

10 messages · Page 1 of 1 (latest)

serene pulsar
#

My suggestion is to add <context.invite> to on discord user joins:
<context.invite> will return code of the invite, and if bot on the server this invite was used aaaaand bot has permission MANAGE_SERVER, it can read:

  • Code of invite
  • Uses of invite
  • How long until invite is expired
  • Who made the invite

I guess there is needed new inviteObject

I know that you can make this stuff with webget, but it will be a hell of a work to parse through all invites on the server and see which one is being used at the moment by user that joined, especially since you can only see uses, not WHO used it

wintry urchinBOT
#

(hearty6969) New <context.invite>

wintry urchinBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

broken ironBOT
#
Changed to Feature

Thread is now a Feature thread. This indicates a request for a new feature to the plugin, that both (A) does not already exist and (B) reasonably can be added. If you are unsure whether this applies, use </helpthread:1028674284870180883> to change back to a normal help thread.

serene pulsar
#

Actually, maybe it will be more fitting to make a different event for invite being created/deleted/used?

serene pulsar
#

(please, if it would not trouble - ping me if there will be any updates on this one)

serene pulsar
#

So, um, is this feature request/idea accepted or what? It was a few months since I made this post

opaque fractal
# serene pulsar So, um, is this feature request/idea accepted or what? It was a few months since...

sorry for getting to this a bit late, but the <context.invite> part isn't a simple straightforward thing to add. the event itself doesn't have an "invite" method, and the only way would be to comb through the raw data that happen when any event fires, if it's even in there.

however, if you're still interested in having an event trigger when an invite is created or deleted, this can be done, just respond here and i can get started on that