mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 13:02:38 +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',
|
||||
},
|
||||
Invite: inviteID => `/invite/${inviteID}`,
|
||||
inviteLink: id => `https://discord.gg/${id}`,
|
||||
Webhook: (webhookID, token) => `/webhooks/${webhookID}${token ? `/${token}` : ''}`,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue