Skip to content

Commit

Permalink
Update Endpoints.js
Browse files Browse the repository at this point in the history
  • Loading branch information
JustCat80 committed May 29, 2021
1 parent ded180f commit fcf85d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rest/Endpoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ module.exports.GUILD_WIDGET = (guildID)
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.GET_INTERACTION_RESPONSE = (appID, interactToken, msgID) => `/webhooks/${appID}/${interactToken}/messages/${msgID}`;//@original or message id
module.exports.CREATE_FOLLOW_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 fcf85d0

Please sign in to comment.