docs: remove unparsed examples (#6404)

This commit is contained in:
Jan
2021-08-12 19:01:09 +02:00
committed by GitHub
parent 933d2c5eb7
commit e6f48d849f
2 changed files with 0 additions and 11 deletions

View File

@@ -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);

View File

@@ -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 => {