From e6f48d849f0439bdafe5677648f2c9e5c69bda35 Mon Sep 17 00:00:00 2001 From: Jan <66554238+vaporox@users.noreply.github.com> Date: Thu, 12 Aug 2021 19:01:09 +0200 Subject: [PATCH] docs: remove unparsed examples (#6404) --- src/client/WebhookClient.js | 4 ---- src/structures/Guild.js | 7 ------- 2 files changed, 11 deletions(-) diff --git a/src/client/WebhookClient.js b/src/client/WebhookClient.js index da441b18d1d2..dd51ecbe3ae8 100644 --- a/src/client/WebhookClient.js +++ b/src/client/WebhookClient.js @@ -21,10 +21,6 @@ class WebhookClient extends BaseClient { /** * @param {WebhookClientData} data The data of the webhook * @param {ClientOptions} [options] Options for the client - * @example - * // Create a new webhook and send a message - * const hook = new Discord.WebhookClient({ id: '1234', token: 'abcdef' }); - * hook.send('This will send a message').catch(console.error); */ constructor(data, options) { super(options); diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 12cb4fd1c3ce..9a8759e73003 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -1284,13 +1284,6 @@ class Guild extends AnonymousGuild { * and stage channels. * @type {Function} * @readonly - * @example - * const { joinVoiceChannel } = require('@discordjs/voice'); - * const voiceConnection = joinVoiceChannel({ - * channelId: channel.id, - * guildId: channel.guild.id, - * adapterCreator: channel.guild.voiceAdapterCreator, - * }); */ get voiceAdapterCreator() { return methods => {