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