Channel permissionLock support (syncing with category permissions) (#1924)

* add permissionsLocked

* wip permissionLock()

* should be good

* better method name

* see if this fixes channel jumping

* fix property names

* each overwrite is a different instance, and thus the pointers do not equal, even if the values do.

* add more documentation to the edit method
This commit is contained in:
bdistin
2017-09-11 12:33:30 -05:00
committed by Crawl
parent 18389c7659
commit 64cbb98fb3
2 changed files with 45 additions and 2 deletions

View File

@@ -79,6 +79,7 @@ const Messages = {
MESSAGE_SPLIT_MISSING: 'Message exceeds the max length and contains no split characters.',
GUILD_CHANNEL_RESOLVE: 'Could not resolve channel to a guild channel.',
GUILD_CHANNEL_ORPHAN: 'Could not find a parent to this guild channel.',
GUILD_OWNED: 'Guild is owned by the client.',
GUILD_RESTRICTED: (state = false) => `Guild is ${state ? 'already' : 'not'} restricted.`,
GUILD_MEMBERS_TIMEOUT: 'Members didn\'t arrive in time.',