Skip to content

Commit

Permalink
docs: remove unparsed examples (#6404)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaporoxx committed Aug 12, 2021
1 parent 933d2c5 commit e6f48d8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
4 changes: 0 additions & 4 deletions src/client/WebhookClient.js
Expand Up @@ -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);
Expand Down
7 changes: 0 additions & 7 deletions src/structures/Guild.js
Expand Up @@ -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 => {
Expand Down

0 comments on commit e6f48d8

Please sign in to comment.