mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 13:02:38 +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>}
|
||||
* @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);
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue