Added the Sheepstar API to the Archive
This commit is contained in:
9
SheepstarAPIV1/lib/api.js
Normal file
9
SheepstarAPIV1/lib/api.js
Normal file
@ -0,0 +1,9 @@
|
||||
global.DISCORD_API_BASE = "https://discord.com/api";
|
||||
|
||||
// oAuth2 Endpoints
|
||||
global.DISCORD_OAUTH2_BASE = DISCORD_API_BASE+"/oauth2";
|
||||
global.DISCORD_TOKEN_ENDPOINT = DISCORD_OAUTH2_BASE+"/token";
|
||||
|
||||
// User Endpoints
|
||||
global.DISCORD_USER_ENDPOINT = DISCORD_API_BASE+"/users/@me";
|
||||
global.DISCORD_USER_GUILDS_ENDPOINT = DISCORD_USER_ENDPOINT+"/guilds";
|
Reference in New Issue
Block a user