fix: JSDocs parse error
This commit is contained in:
parent
288d295f8a
commit
931605ae0d
File diff suppressed because one or more lines are too long
@ -95,7 +95,7 @@ module.exports = (client, { d: data }, shard) => {
|
||||
};
|
||||
client.emit(
|
||||
Events.DEBUG,
|
||||
`${chalk.greenBright('[OK]')} Patched VoiceConnection.prototype.configureNetworking [@discordjs/voice - v0.10.0]`,
|
||||
`${chalk.greenBright('[OK]')} Patched VoiceConnection.prototype.configureNetworking [@discordjs/voice - v0.11.0]`,
|
||||
);
|
||||
/* eslint-enable */
|
||||
}
|
||||
|
@ -1431,7 +1431,7 @@ class Guild extends AnonymousGuild {
|
||||
|
||||
/**
|
||||
* Marks the guild as read
|
||||
* @returns {Promise<void>} nothing :)
|
||||
* @returns {Promise<undefined>} nothing :)
|
||||
* @example
|
||||
* const guild = client.guilds.fetch('222078108977594368');
|
||||
* guild.read();
|
||||
|
@ -997,7 +997,7 @@ class Message extends Base {
|
||||
// Added
|
||||
/**
|
||||
* Marks the message as unread.
|
||||
* @returns {boolean}
|
||||
* @returns {Promise<boolean>}
|
||||
*/
|
||||
async markUnread() {
|
||||
await this.client.api.channels[this.channelId].messages[this.id].ack.post({
|
||||
@ -1017,7 +1017,7 @@ class Message extends Base {
|
||||
|
||||
/**
|
||||
* Marks the message as read.
|
||||
* @returns {boolean}
|
||||
* @returns {Promise<boolean>}
|
||||
*/
|
||||
async markRead() {
|
||||
await this.client.api.channels[this.channelId].messages[this.id].ack.post({
|
||||
|
@ -83,8 +83,8 @@ class Application extends Base {
|
||||
* @param {string} [captcha] The captcha key to add
|
||||
* @returns {Promise<void>} nothing :)
|
||||
*/
|
||||
async invite(guild_id, permissions = 0n, captcha = null) {
|
||||
permissions = Permissions.resolve(permissions);
|
||||
async invite(guild_id, permissions, captcha = null) {
|
||||
permissions = Permissions.resolve(permissions || 0n);
|
||||
const postData = {
|
||||
authorize: true,
|
||||
guild_id,
|
||||
|
Loading…
Reference in New Issue
Block a user