mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 17:43:30 +01:00
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:
@@ -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.',
|
||||
|
||||
Reference in New Issue
Block a user