Skip to content

Commit

Permalink
Forgot / before urls
Browse files Browse the repository at this point in the history
  • Loading branch information
JustCat80 committed May 29, 2021
1 parent 9a0f18c commit b00c738
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/rest/Endpoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports.CLIENT_URL = "https://discord.com";

module.exports.APPLICATION_PERMISSIONS = (appID, guildID) => `/applications/${appID}/guilds/${guildID}/commands/permissions`;
module.exports.APPLICATION_COMMAND_PERMISSIONS = (appID, guildID, cmdID) => `/applications/${appID}/guilds/${guildID}/commands/${cmdID}/permissions`;
module.exports.ORIGINAL_INTERACTION_RESPONSE = (appID, interactToken) => `webhooks/${appID}/${interactToken}`;
module.exports.ORIGINAL_INTERACTION_RESPONSE = (appID, interactToken) => `/webhooks/${appID}/${interactToken}`;
module.exports.CHANNEL = (chanID) => `/channels/${chanID}`;
module.exports.CHANNEL_BULK_DELETE = (chanID) => `/channels/${chanID}/messages/bulk-delete`;
module.exports.CHANNEL_CALL_RING = (chanID) => `/channels/${chanID}/call/ring`;
Expand Down Expand Up @@ -68,9 +68,9 @@ module.exports.GUILD_WELCOME_SCREEN = (guildID)
module.exports.GUILD_WIDGET = (guildID) => `/guilds/${guildID}/widget`;
module.exports.GUILD_VOICE_STATE = (guildID, user) => `/guilds/${guildID}/voice-states/${user}`;
module.exports.GUILDS = "/guilds";
module.exports.INTERACTION_RESPONSE = (interactID, interactToken) => `interactions/${interactID}/${interactToken}/callback`;
module.exports.ORIGINAL_INTERACTION_RESPONSE = (appID, interactToken, msgID) => `webhooks/${appID}/${interactToken}/messages/${msgID}`;//@original or message id
module.exports.ORIGINAL_INTERACTION_RESPONSE = (appID, interactToken) => `webhooks/${appID}/${interactToken}`;
module.exports.INTERACTION_RESPONSE = (interactID, interactToken) => `/interactions/${interactID}/${interactToken}/callback`;
module.exports.ORIGINAL_INTERACTION_RESPONSE = (appID, interactToken, msgID) => `/webhooks/${appID}/${interactToken}/messages/${msgID}`;//@original or message id
module.exports.ORIGINAL_INTERACTION_RESPONSE = (appID, interactToken) => `/webhooks/${appID}/${interactToken}`;
module.exports.INVITE = (inviteID) => `/invite/${inviteID}`;
module.exports.OAUTH2_APPLICATION = (appID) => `/oauth2/applications/${appID}`;
module.exports.USER = (userID) => `/users/${userID}`;
Expand Down

0 comments on commit b00c738

Please sign in to comment.