mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
docs: remove unparsed examples (#6404)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user