mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 19:13:31 +01:00
fix doc issue with role
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -168,7 +168,7 @@ class GuildChannel extends Channel {
|
|||||||
* @returns {Promise<GuildChannel>}
|
* @returns {Promise<GuildChannel>}
|
||||||
* @example
|
* @example
|
||||||
* // set a new channel name
|
* // set a new channel name
|
||||||
* channel.setName('not general')
|
* channel.setName('not_general')
|
||||||
* .then(newChannel => console.log(`Channel's new name is ${newChannel.name}`))
|
* .then(newChannel => console.log(`Channel's new name is ${newChannel.name}`))
|
||||||
* .catch(console.log);
|
* .catch(console.log);
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user