mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 20:20:55 +00:00
readded inviteLink endpoint (#1369)
This commit is contained in:
parent
a49d4e6d43
commit
6187c17097
1 changed files with 1 additions and 0 deletions
|
|
@ -206,6 +206,7 @@ const Endpoints = exports.Endpoints = {
|
||||||
bot: '/gateway/bot',
|
bot: '/gateway/bot',
|
||||||
},
|
},
|
||||||
Invite: inviteID => `/invite/${inviteID}`,
|
Invite: inviteID => `/invite/${inviteID}`,
|
||||||
|
inviteLink: id => `https://discord.gg/${id}`,
|
||||||
Webhook: (webhookID, token) => `/webhooks/${webhookID}${token ? `/${token}` : ''}`,
|
Webhook: (webhookID, token) => `/webhooks/${webhookID}${token ? `/${token}` : ''}`,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue