Open Megalaoofania opened 1 year ago
In discord.js v13 the permission coding has been changed.
discord.js v12 uses: (s4dmessage.member).hasPermission('ADMINISTRATOR') discord.js v13 uses: (s4dmessage.member).permissions.has('ADMINISTRATOR')
In discord.js v13 the permission coding has been changed.
discord.js v12 uses: (s4dmessage.member).hasPermission('ADMINISTRATOR') discord.js v13 uses: (s4dmessage.member).permissions.has('ADMINISTRATOR')