GetDiscordEmail

get
GetDiscordEmail

exports.Badger_Discord_API:GetDiscordEmail(user)
This export allows you to get a player's Discord email if allowed.
Request
Response
Request
Query Parameters
user
required
object
The source of the player you want to check.
Response
200: OK
Returns email of user if found:
'thewolfbadger@gmail.com'
404: Not Found
Returns nil if not found:
nil