Discord Invite with Parameters
I had what I think is a really cool idea that a lot of Discord bot developers could take advantage of.
There should be a way for server admins to add parameters onto invite links. For example,
discord.com/invite/xxxxxxx?ref=facebook
Then, give the developer API access to those parameters when someone joins.
This would allow for better tracking of where invites are being used, as well as open up the possibility for certain roles to be assigned to a member upon joining depending on the invite parameters.
-
This already exists, it's the state parameter.
0 -
Yeah, i think already exists :(
0 -
No it doesn't? There is no state parameter on the Invite. https://discord.com/developers/docs/resources/invite
0 -
Oh, I thought you meant the state parameter on https://discord.com/api/oauth2/authorize.
EDIT: From https://discord.com/developers/docs/topics/oauth2#authorization-code-grant
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare