I'm getting the following error
RangeError [BITFIELD_INVALID]: Invalid bitfield flag or number.
at Function.resolve (C:\Users\Administrator\Desktop\AmazonMonitor-master\node_modules\discord.js\src\util\BitField.js:150:19)
at Permissions.has (C:\Users\Administrator\Desktop\AmazonMonitor-master\node_modules\discord.js\src\util\BitField.js:45:28)
at Permissions.has (C:\Users\Administrator\Desktop\AmazonMonitor-master\node_modules\discord.js\src\util\Permissions.js:45:85)
at C:\Users\Administrator\Desktop\AmazonMonitor-master\node_modules\discord.js\src\util\BitField.js:44:56
at Array.every ()
at Permissions.has (C:\Users\Administrator\Desktop\AmazonMonitor-master\node_modules\discord.js\src\util\BitField.js:44:40)
at Permissions.has (C:\Users\Administrator\Desktop\AmazonMonitor-master\node_modules\discord.js\src\util\Permissions.js:45:85)
at GuildMember.hasPermission (C:\Users\Administrator\Desktop\AmazonMonitor-master\node_modules\discord.js\src\structures\GuildMember.js:271:24)
at Client. (C:\Users\Administrator\Desktop\AmazonMonitor-master\index.js:61:26)
at Client.emit (events.js:315:20) {
bit: 'permission_1',
Seems to happen when i try to add something to the watchlist
In the required_perms section of your config.json, you have permission_1 listed. This is not a valid permission, so you must either use an empty array (AKA make the value []) or list a valid permission.
Hi,
I'm getting the following error RangeError [BITFIELD_INVALID]: Invalid bitfield flag or number. at Function.resolve (C:\Users\Administrator\Desktop\AmazonMonitor-master\node_modules\discord.js\src\util\BitField.js:150:19) at Permissions.has (C:\Users\Administrator\Desktop\AmazonMonitor-master\node_modules\discord.js\src\util\BitField.js:45:28) at Permissions.has (C:\Users\Administrator\Desktop\AmazonMonitor-master\node_modules\discord.js\src\util\Permissions.js:45:85) at C:\Users\Administrator\Desktop\AmazonMonitor-master\node_modules\discord.js\src\util\BitField.js:44:56 at Array.every ()
at Permissions.has (C:\Users\Administrator\Desktop\AmazonMonitor-master\node_modules\discord.js\src\util\BitField.js:44:40)
at Permissions.has (C:\Users\Administrator\Desktop\AmazonMonitor-master\node_modules\discord.js\src\util\Permissions.js:45:85)
at GuildMember.hasPermission (C:\Users\Administrator\Desktop\AmazonMonitor-master\node_modules\discord.js\src\structures\GuildMember.js:271:24)
at Client. (C:\Users\Administrator\Desktop\AmazonMonitor-master\index.js:61:26)
at Client.emit (events.js:315:20) {
bit: 'permission_1',
Seems to happen when i try to add something to the watchlist