Discord::requestOAuth2: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

24 November 2024

  • curprev 19:2419:24, 24 November 2024Shr0x talk contribs 1,125 bytes +1,125 Created page with "{{ClientsideJsFunction}} {{JSContainer| == Summary == Initiates an OAuth2 authorization flow for a specified Discord application. Returns a `Promise` resolving with an authorization code. == Syntax == <syntaxhighlight lang="javascript"> Promise<string> mp.discord.requestOAuth2(string applicationId); </syntaxhighlight> === Required Arguments === * '''applicationId:''' {{RageType|string}} - The Client ID of the Discord application. === Return Value === * '''Promise<stri..."