Skip to content

Instantly share code, notes, and snippets.

Justice Almanzar Vap0r1ze

Block or report user

Report or block Vap0r1ze

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Vap0r1ze
Vap0r1ze / discord_oauth2.md
Last active Oct 8, 2018
Discord OAuth2 Flow
View discord_oauth2.md

Discord OAuth2

Step 1

You: Redirect User to https://discordapp.com/api/oauth2/authorize

Query Params
name value
client_id Your application's Client ID
scope A list of scopes, delimited by spaces
redirect_uri The uri to send the user after authorization
View regex_tuesday.txt
/\b([^ ]+) (\1)\b/gi $1 <strong>$2</strong>
/^(1\d{3}|200\d|201[0-2])\/(0[1-9]|1[0-2])\/(0[1-9]|[1-2]\d|3[0-2]) ([01]\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/
/^(?:\d{1,3}(,\d{3})*(\.\d+)?|\d{1,3}( \d{3})*(,\d+)?)$/
/^\*( +)(.+)(\n)\*( +)(\2)$/gim *$1$2$3*$4**$5**
You can’t perform that action at this time.