findVerifiedConnection
findVerifiedConnection(
connections,type):DiscordConnection|undefined
Defined in: oauth/oauth.ts:114
The verified connection of one service, or undefined. Unverified ones are ignored: anyone can type a
GitHub name into their profile, and only a verified link proves they own it. When a member has several
of the service, the first verified one wins.
Parameters
Section titled “Parameters”connections
Section titled “connections”readonly DiscordConnection[]
string
Returns
Section titled “Returns”DiscordConnection | undefined