Skip to content

Commit

Permalink
readded inviteLink endpoint (discordjs#1369)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceEEC authored and iCrawl committed Apr 11, 2017
1 parent fdafdf6 commit e4c7fcb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util/Constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ const Endpoints = exports.Endpoints = {
bot: '/gateway/bot',
},
Invite: inviteID => `/invite/${inviteID}`,
inviteLink: id => `https://discord.gg/${id}`,
Webhook: (webhookID, token) => `/webhooks/${webhookID}${token ? `/${token}` : ''}`,
};

Expand Down

0 comments on commit e4c7fcb

Please sign in to comment.