mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
readded inviteLink endpoint (#1369)
This commit is contained in:
@@ -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}` : ''}`,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user