readded inviteLink endpoint (#1369)

This commit is contained in:
SpaceEEC
2017-04-11 22:21:28 +02:00
committed by Crawl
parent a49d4e6d43
commit 6187c17097

View File

@@ -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}` : ''}`,
};