docs(Guild): fix typo in example of createChannel

This commit is contained in:
SpaceEEC 2019-05-14 20:12:57 +02:00
parent e82633fb00
commit c844a7b4e2
No known key found for this signature in database
GPG key ID: 8C8A2E338661B871

View file

@ -1062,7 +1062,7 @@ class Guild {
* // Create a new category channel with permission overwrites
* guild.createChannel('new-category', {
* type: 'category',
* permissionsOverwrites: [{
* permissionOverwrites: [{
* id: guild.id,
* deny: ['MANAGE_MESSAGES'],
* allow: ['SEND_MESSAGES']