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 30, 2021
1 parent 844a557 commit 820c502
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 @@ -68,8 +68,8 @@ 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_RESPOND = (interactID, interactToken) => `/interactions/${interactID}/${interactToken}/callback`;
module.exports.INTERACTION_RESPONSE = (appID, interactToken, msgID) => `/webhooks/${appID}/${interactToken}/messages/${msgID}`;//@original or message id
module.exports.INTERACTION_RESPOND = (interactID, interactToken) => `/interactions/${interactID}/${interactToken}/callback`;
module.exports.INTERACTION_RESPONSE = (appID, interactToken, msgID) => `/webhooks/${appID}/${interactToken}/messages/@original`;//@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}`;
Expand Down

0 comments on commit 820c502

Please sign in to comment.