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(
|
client.emit(
|
||||||
Events.DEBUG,
|
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 */
|
/* eslint-enable */
|
||||||
}
|
}
|
||||||
|
@ -1431,7 +1431,7 @@ class Guild extends AnonymousGuild {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Marks the guild as read
|
* Marks the guild as read
|
||||||
* @returns {Promise<void>} nothing :)
|
* @returns {Promise<undefined>} nothing :)
|
||||||
* @example
|
* @example
|
||||||
* const guild = client.guilds.fetch('222078108977594368');
|
* const guild = client.guilds.fetch('222078108977594368');
|
||||||
* guild.read();
|
* guild.read();
|
||||||
|
@ -997,7 +997,7 @@ class Message extends Base {
|
|||||||
// Added
|
// Added
|
||||||
/**
|
/**
|
||||||
* Marks the message as unread.
|
* Marks the message as unread.
|
||||||
* @returns {boolean}
|
* @returns {Promise<boolean>}
|
||||||
*/
|
*/
|
||||||
async markUnread() {
|
async markUnread() {
|
||||||
await this.client.api.channels[this.channelId].messages[this.id].ack.post({
|
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.
|
* Marks the message as read.
|
||||||
* @returns {boolean}
|
* @returns {Promise<boolean>}
|
||||||
*/
|
*/
|
||||||
async markRead() {
|
async markRead() {
|
||||||
await this.client.api.channels[this.channelId].messages[this.id].ack.post({
|
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
|
* @param {string} [captcha] The captcha key to add
|
||||||
* @returns {Promise<void>} nothing :)
|
* @returns {Promise<void>} nothing :)
|
||||||
*/
|
*/
|
||||||
async invite(guild_id, permissions = 0n, captcha = null) {
|
async invite(guild_id, permissions, captcha = null) {
|
||||||
permissions = Permissions.resolve(permissions);
|
permissions = Permissions.resolve(permissions || 0n);
|
||||||
const postData = {
|
const postData = {
|
||||||
authorize: true,
|
authorize: true,
|
||||||
guild_id,
|
guild_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user