mirror of
https://github.com/danbulant/discord.js
synced 2026-07-06 11:40:41 +00:00
Fix guild.createChannel docs
This commit is contained in:
parent
614c488f96
commit
79ea663afe
2 changed files with 2 additions and 2 deletions
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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue