docs: add examples & improve notices

This commit is contained in:
Lewdcario
2018-06-04 18:08:19 -05:00
parent 512af54e5d
commit dfbd4bdde1
2 changed files with 14 additions and 2 deletions

View File

@@ -178,7 +178,7 @@ class GuildChannel extends Channel {
}
/**
* Updates the permission overwrites for a channel
* Replaces the permission overwrites in this channel.
* @param {Object} [options] Options
* @param {Array<PermissionOverwrites|PermissionOverwriteOptions>} [options.overwrites] Permission overwrites
* @param {string} [options.reason] Reason for updating the channel overwrites