mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 10:33:30 +01:00
docs(Guild): fix typo in example of createChannel
This commit is contained in:
@@ -1062,7 +1062,7 @@ class Guild {
|
|||||||
* // Create a new category channel with permission overwrites
|
* // Create a new category channel with permission overwrites
|
||||||
* guild.createChannel('new-category', {
|
* guild.createChannel('new-category', {
|
||||||
* type: 'category',
|
* type: 'category',
|
||||||
* permissionsOverwrites: [{
|
* permissionOverwrites: [{
|
||||||
* id: guild.id,
|
* id: guild.id,
|
||||||
* deny: ['MANAGE_MESSAGES'],
|
* deny: ['MANAGE_MESSAGES'],
|
||||||
* allow: ['SEND_MESSAGES']
|
* allow: ['SEND_MESSAGES']
|
||||||
|
|||||||
Reference in New Issue
Block a user