mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
Fix Guild.createChannel example
This commit is contained in:
@@ -512,7 +512,7 @@ class Guild {
|
|||||||
* @returns {Promise<TextChannel|VoiceChannel>}
|
* @returns {Promise<TextChannel|VoiceChannel>}
|
||||||
* @example
|
* @example
|
||||||
* // create a new text channel
|
* // create a new text channel
|
||||||
* guild.createChannel('new general', 'text')
|
* guild.createChannel('new-general', 'text')
|
||||||
* .then(channel => console.log(`Created new channel ${channel}`))
|
* .then(channel => console.log(`Created new channel ${channel}`))
|
||||||
* .catch(console.log);
|
* .catch(console.log);
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user