mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 17:52:55 +00:00
Fix Guild.createChannel example
This commit is contained in:
parent
d62551bea2
commit
f1bfd55233
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue