Fix Guild.createChannel example

This commit is contained in:
Schuyler Cebulskie
2016-09-24 02:21:06 -04:00
parent d62551bea2
commit f1bfd55233

View File

@@ -512,7 +512,7 @@ class Guild {
* @returns {Promise<TextChannel|VoiceChannel>}
* @example
* // create a new text channel
* guild.createChannel('new general', 'text')
* guild.createChannel('new-general', 'text')
* .then(channel => console.log(`Created new channel ${channel}`))
* .catch(console.log);
*/