docs(*): add links to Discord's API objects & data (#5862)

This commit is contained in:
Rodry
2021-06-24 09:55:44 +01:00
committed by GitHub
parent 6d3d00b445
commit e0efcc6ab0
35 changed files with 175 additions and 63 deletions

View File

@@ -9,7 +9,7 @@ const Base = require('./Base');
class GuildBan extends Base {
/**
* @param {Client} client The instantiating client
* @param {Object} data The data for the ban
* @param {APIBanData} data The data for the ban
* @param {Guild} guild The guild in which the ban is
*/
constructor(client, data, guild) {
@@ -61,3 +61,8 @@ class GuildBan extends Base {
}
module.exports = GuildBan;
/**
* @external APIBanData
* @see {@link https://discord.com/developers/docs/resources/guild#create-guild-ban-json-params}
*/