mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +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 {WebhookClientData} data The data of the webhook
|
||||||
* @param {ClientOptions} [options] Options for the client
|
* @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) {
|
constructor(data, options) {
|
||||||
super(options);
|
super(options);
|
||||||
|
|||||||
@@ -1284,13 +1284,6 @@ class Guild extends AnonymousGuild {
|
|||||||
* and stage channels.
|
* and stage channels.
|
||||||
* @type {Function}
|
* @type {Function}
|
||||||
* @readonly
|
* @readonly
|
||||||
* @example
|
|
||||||
* const { joinVoiceChannel } = require('@discordjs/voice');
|
|
||||||
* const voiceConnection = joinVoiceChannel({
|
|
||||||
* channelId: channel.id,
|
|
||||||
* guildId: channel.guild.id,
|
|
||||||
* adapterCreator: channel.guild.voiceAdapterCreator,
|
|
||||||
* });
|
|
||||||
*/
|
*/
|
||||||
get voiceAdapterCreator() {
|
get voiceAdapterCreator() {
|
||||||
return methods => {
|
return methods => {
|
||||||
|
|||||||
Reference in New Issue
Block a user