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

@@ -13,7 +13,7 @@ const Util = require('../util/Util');
class Role extends Base {
/**
* @param {Client} client The instantiating client
* @param {Object} data The data for the role
* @param {APIRole} data The data for the role
* @param {Guild} guild The guild the role is part of
*/
constructor(client, data, guild) {
@@ -424,3 +424,8 @@ class Role extends Base {
}
module.exports = Role;
/**
* @external APIRole
* @see {@link https://discord.com/developers/docs/topics/permissions#role-object}
*/