mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
Fix guild.createChannel docs
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -290,7 +290,7 @@ class Guild {
|
|||||||
/**
|
/**
|
||||||
* Creates a new Channel in the Guild.
|
* Creates a new Channel in the Guild.
|
||||||
* @param {String} name the name of the new channel.
|
* @param {String} name the name of the new channel.
|
||||||
* @param {any} type the type of the new channel, either `text` or `voice`.
|
* @param {String} type the type of the new channel, either `text` or `voice`.
|
||||||
* @returns {Promise<TextChannel|VoiceChannel, Error>}
|
* @returns {Promise<TextChannel|VoiceChannel, Error>}
|
||||||
* @example
|
* @example
|
||||||
* // create a new text channel
|
* // create a new text channel
|
||||||
|
|||||||
Reference in New Issue
Block a user