Androz2091/scratch-for-discord

Do you want to work on this issue?

You can request for a bounty in order to promote it!

.hasPermission doesn't work anymore, use permissions.has #519

Megalaoofania posted onGitHub

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')


Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests